{"action":"closed","issue":{"url":"https://api.github.com/repos/discipl/core/issues/11","repository_url":"https://api.github.com/repos/discipl/core","labels_url":"https://api.github.com/repos/discipl/core/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/discipl/core/issues/11/comments","events_url":"https://api.github.com/repos/discipl/core/issues/11/events","html_url":"https://github.com/discipl/core/issues/11","id":391056050,"node_id":"MDU6SXNzdWUzOTEwNTYwNTA=","number":11,"title":"Possible ES6-related improvements","user":{"login":"pimotte","id":5917458,"node_id":"MDQ6VXNlcjU5MTc0NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5917458?v=4","gravatar_id":"","url":"https://api.github.com/users/pimotte","html_url":"https://github.com/pimotte","followers_url":"https://api.github.com/users/pimotte/followers","following_url":"https://api.github.com/users/pimotte/following{/other_user}","gists_url":"https://api.github.com/users/pimotte/gists{/gist_id}","starred_url":"https://api.github.com/users/pimotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimotte/subscriptions","organizations_url":"https://api.github.com/users/pimotte/orgs","repos_url":"https://api.github.com/users/pimotte/repos","events_url":"https://api.github.com/users/pimotte/events{/privacy}","received_events_url":"https://api.github.com/users/pimotte/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-14T10:36:44Z","updated_at":"2018-12-20T12:44:17Z","closed_at":"2018-12-20T12:44:17Z","author_association":"CONTRIBUTOR","body":"Two small proposals:\r\n\r\n- Replace the commonJS export with an ES6 export. \r\n- Replace the require with a [dynamic import](https://developers.google.com/web/updates/2017/11/dynamic-import)\r\n\r\nBoth would modernize the code. The dynamic import is not natively supported in firefox and IE (is supported by Chrome/Safari/Edge/NodeJS), but is supported by Babel, so as I see it this shouldn't cause any problems. "}}
{"actor":{"display_login":"pimotte"}}