{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/loader/issues/36","labels_url":"https://api.github.com/repos/whatwg/loader/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/loader/issues/36/comments","events_url":"https://api.github.com/repos/whatwg/loader/issues/36/events","html_url":"https://github.com/whatwg/loader/issues/36","id":60752139,"number":36,"title":"reflection: imperative equivalence for declarative import","user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-03-12T00:19:14Z","updated_at":"2015-03-13T21:18:27Z","closed_at":null,"body":"as today, we only have `loader.import('./foo.js').then(m => {...})`, which is reflective to `import * as m from \"./foo.js\"`, as we discussed earlier today, we might need to provide reflection for the other two options (default and named exports import declarations).\r\n\r\n@dherman suggested:\r\n\r\n```javascript\r\nlocal.import(\"./foo.js\").then((def, named) => ...)\r\nlocal.importNamespace(\"./foo.js\").then(m => ...)\r\n```"},"comment":{"url":"https://api.github.com/repos/whatwg/loader/issues/comments/79409392","html_url":"https://github.com/whatwg/loader/issues/36#issuecomment-79409392","issue_url":"https://api.github.com/repos/whatwg/loader/issues/36","id":79409392,"user":{"login":"wycats","id":4,"avatar_url":"https://avatars.githubusercontent.com/u/4?v=3","gravatar_id":"","url":"https://api.github.com/users/wycats","html_url":"https://github.com/wycats","followers_url":"https://api.github.com/users/wycats/followers","following_url":"https://api.github.com/users/wycats/following{/other_user}","gists_url":"https://api.github.com/users/wycats/gists{/gist_id}","starred_url":"https://api.github.com/users/wycats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wycats/subscriptions","organizations_url":"https://api.github.com/users/wycats/orgs","repos_url":"https://api.github.com/users/wycats/repos","events_url":"https://api.github.com/users/wycats/events{/privacy}","received_events_url":"https://api.github.com/users/wycats/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T21:18:27Z","updated_at":"2015-03-13T21:18:27Z","body":"I like `importFrom`."}}