{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/364","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/364/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/364/events","html_url":"https://github.com/systemjs/systemjs/issues/364","id":59528985,"number":364,"title":"[Web Workers] System.config() missing","user":{"login":"stefanr","id":764422,"avatar_url":"https://avatars.githubusercontent.com/u/764422?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanr","html_url":"https://github.com/stefanr","followers_url":"https://api.github.com/users/stefanr/followers","following_url":"https://api.github.com/users/stefanr/following{/other_user}","gists_url":"https://api.github.com/users/stefanr/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanr/subscriptions","organizations_url":"https://api.github.com/users/stefanr/orgs","repos_url":"https://api.github.com/users/stefanr/repos","events_url":"https://api.github.com/users/stefanr/events{/privacy}","received_events_url":"https://api.github.com/users/stefanr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-02T19:02:46Z","updated_at":"2015-03-03T12:29:08Z","closed_at":null,"body":"Is there a reason why the config method is missing inside a web worker? Setting the paths manually using `System.paths = {\"*\": \"*.js\", ...}` seems to work fine.\r\n\r\nAllowing to import the auto generated config file would make sense. \r\n\r\n```js\r\nimportScripts(\"jspm_packages/system.js\");\r\nimportScripts(\"config.js\");\r\n\r\nSystem.import(\"worker/test\").then(function (module) {\r\n  ...\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/comments/76936626","html_url":"https://github.com/systemjs/systemjs/issues/364#issuecomment-76936626","issue_url":"https://api.github.com/repos/systemjs/systemjs/issues/364","id":76936626,"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-03-03T12:29:07Z","updated_at":"2015-03-03T12:29:07Z","body":"@stefanr you are definitely seeing Traceur's `System` global there instead of SystemJS. Make sure you include Traceur first before SystemJS. See https://github.com/systemjs/systemjs/blob/master/test/tests/worker.js for an example."}}