{"action":"created","issue":{"url":"https://api.github.com/repos/axa-ch/style-guide/issues/411","labels_url":"https://api.github.com/repos/axa-ch/style-guide/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/axa-ch/style-guide/issues/411/comments","events_url":"https://api.github.com/repos/axa-ch/style-guide/issues/411/events","html_url":"https://github.com/axa-ch/style-guide/pull/411","id":119033552,"number":411,"title":"Get rid of the sourceType module warning","user":{"login":"davidknezic","id":198988,"avatar_url":"https://avatars.githubusercontent.com/u/198988?v=3","gravatar_id":"","url":"https://api.github.com/users/davidknezic","html_url":"https://github.com/davidknezic","followers_url":"https://api.github.com/users/davidknezic/followers","following_url":"https://api.github.com/users/davidknezic/following{/other_user}","gists_url":"https://api.github.com/users/davidknezic/gists{/gist_id}","starred_url":"https://api.github.com/users/davidknezic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidknezic/subscriptions","organizations_url":"https://api.github.com/users/davidknezic/orgs","repos_url":"https://api.github.com/users/davidknezic/repos","events_url":"https://api.github.com/users/davidknezic/events{/privacy}","received_events_url":"https://api.github.com/users/davidknezic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/axa-ch/style-guide/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/axa-ch/style-guide/labels/needs%20review","name":"needs review","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-26T12:12:02Z","updated_at":"2015-11-26T14:43:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/axa-ch/style-guide/pulls/411","html_url":"https://github.com/axa-ch/style-guide/pull/411","diff_url":"https://github.com/axa-ch/style-guide/pull/411.diff","patch_url":"https://github.com/axa-ch/style-guide/pull/411.patch"},"body":"Had this warning message with node `v5`:\r\n\r\n```sh\r\n[16:10:21] Parsing file docs/js/index.js: 'import' and 'export' may appear only with 'sourceType: module' (1:0)\r\n```\r\n\r\nThe problem here, scripts weren't built correctly and broke all our interactivity.\r\n\r\nGot rid of it adding the ES2015 preset to babel(ify)."},"comment":{"url":"https://api.github.com/repos/axa-ch/style-guide/issues/comments/159930173","html_url":"https://github.com/axa-ch/style-guide/pull/411#issuecomment-159930173","issue_url":"https://api.github.com/repos/axa-ch/style-guide/issues/411","id":159930173,"user":{"login":"sventschui","id":512692,"avatar_url":"https://avatars.githubusercontent.com/u/512692?v=3","gravatar_id":"","url":"https://api.github.com/users/sventschui","html_url":"https://github.com/sventschui","followers_url":"https://api.github.com/users/sventschui/followers","following_url":"https://api.github.com/users/sventschui/following{/other_user}","gists_url":"https://api.github.com/users/sventschui/gists{/gist_id}","starred_url":"https://api.github.com/users/sventschui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sventschui/subscriptions","organizations_url":"https://api.github.com/users/sventschui/orgs","repos_url":"https://api.github.com/users/sventschui/repos","events_url":"https://api.github.com/users/sventschui/events{/privacy}","received_events_url":"https://api.github.com/users/sventschui/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T14:43:03Z","updated_at":"2015-11-26T14:43:03Z","body":"Okay =)"}}