{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/588","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/588/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/588/events","html_url":"https://github.com/systemjs/systemjs/issues/588","id":94979917,"number":588,"title":"AMD module {import_path} did not define (or: how to set loader.execute)","user":{"login":"breandr","id":1882775,"avatar_url":"https://avatars.githubusercontent.com/u/1882775?v=3","gravatar_id":"","url":"https://api.github.com/users/breandr","html_url":"https://github.com/breandr","followers_url":"https://api.github.com/users/breandr/followers","following_url":"https://api.github.com/users/breandr/following{/other_user}","gists_url":"https://api.github.com/users/breandr/gists{/gist_id}","starred_url":"https://api.github.com/users/breandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breandr/subscriptions","organizations_url":"https://api.github.com/users/breandr/orgs","repos_url":"https://api.github.com/users/breandr/repos","events_url":"https://api.github.com/users/breandr/events{/privacy}","received_events_url":"https://api.github.com/users/breandr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/systemjs/systemjs/labels/support","name":"support","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-14T16:06:44Z","updated_at":"2015-07-16T13:42:31Z","closed_at":"2015-07-16T13:42:31Z","body":"I'm receiving this error in my console when importing a module that does not have an export - it just executes a function. This error is thrown here https://github.com/systemjs/systemjs/blob/9bc693e4114b6d9cb36ac557f0f8a71ba68c7dcd/lib/amd.js#L59.  Looking up a few lines I see `if (loader.execute !== false) {`. What determines the `execute` flag?\r\n\r\nIt may be important to know that I am using JSPM, calling `import 'component/component'`"},"comment":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/comments/121959388","html_url":"https://github.com/systemjs/systemjs/issues/588#issuecomment-121959388","issue_url":"https://api.github.com/repos/systemjs/systemjs/issues/588","id":121959388,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T13:42:31Z","updated_at":"2015-07-16T13:42:31Z","body":"Yes you can do `System.config({ meta: { 'path/to/module.js': { format: 'global' } } })`. See https://github.com/systemjs/systemjs/blob/master/docs/module-formats.md for more info."}}