{"action":"created","issue":{"url":"https://api.github.com/repos/ksachdeva/angular2-swing/issues/49","repository_url":"https://api.github.com/repos/ksachdeva/angular2-swing","labels_url":"https://api.github.com/repos/ksachdeva/angular2-swing/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/ksachdeva/angular2-swing/issues/49/comments","events_url":"https://api.github.com/repos/ksachdeva/angular2-swing/issues/49/events","html_url":"https://github.com/ksachdeva/angular2-swing/issues/49","id":357803649,"node_id":"MDU6SXNzdWUzNTc4MDM2NDk=","number":49,"title":"(Smaller screen issue) : global is not defined, doMove is not a function","user":{"login":"baron554","id":15184580,"node_id":"MDQ6VXNlcjE1MTg0NTgw","avatar_url":"https://avatars3.githubusercontent.com/u/15184580?v=4","gravatar_id":"","url":"https://api.github.com/users/baron554","html_url":"https://github.com/baron554","followers_url":"https://api.github.com/users/baron554/followers","following_url":"https://api.github.com/users/baron554/following{/other_user}","gists_url":"https://api.github.com/users/baron554/gists{/gist_id}","starred_url":"https://api.github.com/users/baron554/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baron554/subscriptions","organizations_url":"https://api.github.com/users/baron554/orgs","repos_url":"https://api.github.com/users/baron554/repos","events_url":"https://api.github.com/users/baron554/events{/privacy}","received_events_url":"https://api.github.com/users/baron554/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T19:57:53Z","updated_at":"2018-09-15T15:18:21Z","closed_at":"2018-09-15T15:18:21Z","author_association":"NONE","body":"When running the app in a smaller window size. Ex: testing in chrome for smaller resolution devices, I receive\r\nReferenceError: global is not defined at Card.js: 206 \r\nthe global.addEventListener doesn't work. \r\nA second error appears after: \r\nERROR TypeError: doMove is not a function\r\n\r\nUsing Angular Core 6.1.7 and CLI 6.2.0"},"comment":{"url":"https://api.github.com/repos/ksachdeva/angular2-swing/issues/comments/421585650","html_url":"https://github.com/ksachdeva/angular2-swing/issues/49#issuecomment-421585650","issue_url":"https://api.github.com/repos/ksachdeva/angular2-swing/issues/49","id":421585650,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTU4NTY1MA==","user":{"login":"baron554","id":15184580,"node_id":"MDQ6VXNlcjE1MTg0NTgw","avatar_url":"https://avatars3.githubusercontent.com/u/15184580?v=4","gravatar_id":"","url":"https://api.github.com/users/baron554","html_url":"https://github.com/baron554","followers_url":"https://api.github.com/users/baron554/followers","following_url":"https://api.github.com/users/baron554/following{/other_user}","gists_url":"https://api.github.com/users/baron554/gists{/gist_id}","starred_url":"https://api.github.com/users/baron554/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baron554/subscriptions","organizations_url":"https://api.github.com/users/baron554/orgs","repos_url":"https://api.github.com/users/baron554/repos","events_url":"https://api.github.com/users/baron554/events{/privacy}","received_events_url":"https://api.github.com/users/baron554/received_events","type":"User","site_admin":false},"created_at":"2018-09-15T15:18:21Z","updated_at":"2018-09-15T15:18:21Z","author_association":"NONE","body":"Solved by adding: \r\n(window as any).global = window;\r\ninto polyfills.ts"}}
{"actor":{"display_login":"baron554"}}