{"action":"created","issue":{"url":"https://api.github.com/repos/bryanjos/elixirscript/issues/112","labels_url":"https://api.github.com/repos/bryanjos/elixirscript/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/bryanjos/elixirscript/issues/112/comments","events_url":"https://api.github.com/repos/bryanjos/elixirscript/issues/112/events","html_url":"https://github.com/bryanjos/elixirscript/issues/112","id":118214923,"number":112,"title":"Add JS.import/1","user":{"login":"bryanjos","id":1257573,"avatar_url":"https://avatars.githubusercontent.com/u/1257573?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanjos","html_url":"https://github.com/bryanjos","followers_url":"https://api.github.com/users/bryanjos/followers","following_url":"https://api.github.com/users/bryanjos/following{/other_user}","gists_url":"https://api.github.com/users/bryanjos/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanjos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanjos/subscriptions","organizations_url":"https://api.github.com/users/bryanjos/orgs","repos_url":"https://api.github.com/users/bryanjos/repos","events_url":"https://api.github.com/users/bryanjos/events{/privacy}","received_events_url":"https://api.github.com/users/bryanjos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bryanjos/elixirscript/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-21T19:04:59Z","updated_at":"2016-01-02T00:20:49Z","closed_at":"2016-01-02T00:20:49Z","body":"`JS.import(module)` would create an import statement and use the name of the module as the path.\r\n\r\n```elixir\r\nJS.import React\r\n```\r\n\r\nwould turn into\r\n\r\n```javascript\r\nimport React from 'react';\r\n```"},"comment":{"url":"https://api.github.com/repos/bryanjos/elixirscript/issues/comments/168352150","html_url":"https://github.com/bryanjos/elixirscript/issues/112#issuecomment-168352150","issue_url":"https://api.github.com/repos/bryanjos/elixirscript/issues/112","id":168352150,"user":{"login":"bryanjos","id":1257573,"avatar_url":"https://avatars.githubusercontent.com/u/1257573?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanjos","html_url":"https://github.com/bryanjos","followers_url":"https://api.github.com/users/bryanjos/followers","following_url":"https://api.github.com/users/bryanjos/following{/other_user}","gists_url":"https://api.github.com/users/bryanjos/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanjos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanjos/subscriptions","organizations_url":"https://api.github.com/users/bryanjos/orgs","repos_url":"https://api.github.com/users/bryanjos/repos","events_url":"https://api.github.com/users/bryanjos/events{/privacy}","received_events_url":"https://api.github.com/users/bryanjos/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T00:20:49Z","updated_at":"2016-01-02T00:20:49Z","body":"Implemented"}}