{"action":"created","issue":{"url":"https://api.github.com/repos/marko-js/marko/issues/172","repository_url":"https://api.github.com/repos/marko-js/marko","labels_url":"https://api.github.com/repos/marko-js/marko/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/marko-js/marko/issues/172/comments","events_url":"https://api.github.com/repos/marko-js/marko/issues/172/events","html_url":"https://github.com/marko-js/marko/issues/172","id":120921434,"number":172,"title":"EcmaScript 2015-style imports","user":{"login":"patrick-steele-idem","id":978214,"avatar_url":"https://avatars.githubusercontent.com/u/978214?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-steele-idem","html_url":"https://github.com/patrick-steele-idem","followers_url":"https://api.github.com/users/patrick-steele-idem/followers","following_url":"https://api.github.com/users/patrick-steele-idem/following{/other_user}","gists_url":"https://api.github.com/users/patrick-steele-idem/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-steele-idem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-steele-idem/subscriptions","organizations_url":"https://api.github.com/users/patrick-steele-idem/orgs","repos_url":"https://api.github.com/users/patrick-steele-idem/repos","events_url":"https://api.github.com/users/patrick-steele-idem/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-steele-idem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marko-js/marko/labels/type:enhancement","name":"type:enhancement","color":"0099dd"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-12-08T03:19:32Z","updated_at":"2016-10-14T00:56:46Z","closed_at":"2016-08-03T21:50:37Z","body":"# New syntax\r\n\r\nES6-style imports:\r\n\r\n```xml\r\n<module-imports>\r\nimport { reverse } from \"./helpers\";\r\nimport foo from \"./foo\";\r\n</module-imports>\r\n\r\nHello ${reverse('Frank')}\r\n```\r\n\r\nGenerated JavaScript code:\r\n\r\n```javascript\r\nvar reverse = require('./helpers').reverse;\r\nvar foo = require('./foo');\r\n```\r\n\r\n# Old syntax\r\n\r\n```xml\r\n<require module=\"./helpers\" var=\"helpers\"/>\r\n<var name=\"reverse\" value=\"helpers.reverse\"/>\r\n<require module=\"./foo\" var=\"foo\"/>\r\n```"},"comment":{"url":"https://api.github.com/repos/marko-js/marko/issues/comments/253681463","html_url":"https://github.com/marko-js/marko/issues/172#issuecomment-253681463","issue_url":"https://api.github.com/repos/marko-js/marko/issues/172","id":253681463,"user":{"login":"mlrawlings","id":1958812,"avatar_url":"https://avatars.githubusercontent.com/u/1958812?v=3","gravatar_id":"","url":"https://api.github.com/users/mlrawlings","html_url":"https://github.com/mlrawlings","followers_url":"https://api.github.com/users/mlrawlings/followers","following_url":"https://api.github.com/users/mlrawlings/following{/other_user}","gists_url":"https://api.github.com/users/mlrawlings/gists{/gist_id}","starred_url":"https://api.github.com/users/mlrawlings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlrawlings/subscriptions","organizations_url":"https://api.github.com/users/mlrawlings/orgs","repos_url":"https://api.github.com/users/mlrawlings/repos","events_url":"https://api.github.com/users/mlrawlings/events{/privacy}","received_events_url":"https://api.github.com/users/mlrawlings/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T00:56:46Z","updated_at":"2016-10-14T00:56:46Z","body":"Thoughts on this? https://github.com/mlrawlings/marko-import-tag/"}}
{"actor":{"display_login":"mlrawlings"}}