{"action":"created","issue":{"url":"https://api.github.com/repos/gkz/LiveScript/issues/619","labels_url":"https://api.github.com/repos/gkz/LiveScript/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/gkz/LiveScript/issues/619/comments","events_url":"https://api.github.com/repos/gkz/LiveScript/issues/619/events","html_url":"https://github.com/gkz/LiveScript/issues/619","id":50424028,"number":619,"title":"ES6 module support?","user":{"login":"impinball","id":4483844,"avatar_url":"https://avatars.githubusercontent.com/u/4483844?v=3","gravatar_id":"","url":"https://api.github.com/users/impinball","html_url":"https://github.com/impinball","followers_url":"https://api.github.com/users/impinball/followers","following_url":"https://api.github.com/users/impinball/following{/other_user}","gists_url":"https://api.github.com/users/impinball/gists{/gist_id}","starred_url":"https://api.github.com/users/impinball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/impinball/subscriptions","organizations_url":"https://api.github.com/users/impinball/orgs","repos_url":"https://api.github.com/users/impinball/repos","events_url":"https://api.github.com/users/impinball/events{/privacy}","received_events_url":"https://api.github.com/users/impinball/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-29T12:09:49Z","updated_at":"2015-04-17T08:20:36Z","closed_at":"2015-04-17T08:20:36Z","body":"Many frameworks are changing to exclusively using ES6 modules, such as Ember (already has) and Angular (will for 2.0). Currently, the only way to do a proper ES6 import is via wrapping it in double backticks like so:\r\n\r\n```ls\r\n``import foo from './bar'``\r\n# do stuff with foo\r\n```\r\n\r\nThis is very ugly on multiple levels. Could there be support added for ES6 module syntax?\r\n\r\nOne potential issue may be reserving/replacing the `import` operator, but getting people to shift to the current equivalent to `<<` (or `import all` to `<<<`) could be a start.\r\n\r\n*(Note: apparently this even has some traction in making it into CoffeeScript, whose implementors have historically put web-compat as first priority)*"},"comment":{"url":"https://api.github.com/repos/gkz/LiveScript/issues/comments/93941386","html_url":"https://github.com/gkz/LiveScript/issues/619#issuecomment-93941386","issue_url":"https://api.github.com/repos/gkz/LiveScript/issues/619","id":93941386,"user":{"login":"gkz","id":1222691,"avatar_url":"https://avatars.githubusercontent.com/u/1222691?v=3","gravatar_id":"","url":"https://api.github.com/users/gkz","html_url":"https://github.com/gkz","followers_url":"https://api.github.com/users/gkz/followers","following_url":"https://api.github.com/users/gkz/following{/other_user}","gists_url":"https://api.github.com/users/gkz/gists{/gist_id}","starred_url":"https://api.github.com/users/gkz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkz/subscriptions","organizations_url":"https://api.github.com/users/gkz/orgs","repos_url":"https://api.github.com/users/gkz/repos","events_url":"https://api.github.com/users/gkz/events{/privacy}","received_events_url":"https://api.github.com/users/gkz/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T08:20:36Z","updated_at":"2015-04-17T08:20:36Z","body":"Continue discussion at #705"}}