{"action":"opened","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/532","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/532/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/532/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/532/events","html_url":"https://github.com/systemjs/systemjs/issues/532","id":89397217,"number":532,"title":"Updated to JSPM, complaims about mutltiple system.register calls in a module file, but there is only 1","user":{"login":"robertbaker","id":907301,"avatar_url":"https://avatars.githubusercontent.com/u/907301?v=3","gravatar_id":"","url":"https://api.github.com/users/robertbaker","html_url":"https://github.com/robertbaker","followers_url":"https://api.github.com/users/robertbaker/followers","following_url":"https://api.github.com/users/robertbaker/following{/other_user}","gists_url":"https://api.github.com/users/robertbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/robertbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertbaker/subscriptions","organizations_url":"https://api.github.com/users/robertbaker/orgs","repos_url":"https://api.github.com/users/robertbaker/repos","events_url":"https://api.github.com/users/robertbaker/events{/privacy}","received_events_url":"https://api.github.com/users/robertbaker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T21:02:25Z","updated_at":"2015-06-18T21:02:25Z","closed_at":null,"body":"https://github.com/robertbaker/ng-next-gen\r\n\r\nThis is a fork, only changes was setting transpiler to typescript and installing jspm@beta and the dl-loader.\r\n\r\n```\r\njspm@beta - Uncaught TypeError: Multiple anonymous System.register calls in the same module file.\r\nlocalhost/:1 Uncaught (in promise) Uncaught TypeError: Multiple anonymous System.register calls in the same module file.\r\nEvaluating http://localhost:9238/app/attributes/drop-action.js\r\nError loading http://localhost:9238/app/boot.js\r\n```\r\n\r\njs:\r\n```\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") return Reflect.decorate(decorators, target, key, desc);\r\n    switch (arguments.length) {\r\n        case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);\r\n        case 3: return decorators.reduceRight(function(o, d) { return (d && d(target, key)), void 0; }, void 0);\r\n        case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);\r\n    }\r\n};System.register(['ng-decorate'], function(exports_1) {\r\n    var ng_decorate_1;\r\n    var VM;\r\n    return {\r\n        setters:[\r\n            function (_ng_decorate_1) {\r\n                ng_decorate_1 = _ng_decorate_1;\r\n            }],\r\n        execute: function() {\r\n            VM = (function () {\r\n                function VM() {\r\n                }\r\n                VM.link = function (scope, $element) {\r\n                    var element = $element[0];\r\n                    var statement = VM.$parse(element.getAttribute('drop-action'));\r\n                    element.addEventListener('dragover', function (event) {\r\n                        event.preventDefault();\r\n                        element.classList.add('dragover');\r\n                    });\r\n                    element.addEventListener('dragleave', function () {\r\n                        element.classList.remove('dragover');\r\n                    });\r\n                    element.addEventListener('drop', function (event) {\r\n                        element.classList.remove('dragover');\r\n                        statement(scope, {\r\n                            $event: event,\r\n                            $data: event.dataTransfer.getData('any')\r\n                        });\r\n                        scope.$applyAsync();\r\n                    });\r\n                };\r\n                __decorate([\r\n                    ng_decorate_1.autoinject\r\n                ], VM, \"$parse\");\r\n                VM = __decorate([\r\n                    ng_decorate_1.Attribute({\r\n                        selector: '[drop-action]'\r\n                    })\r\n                ], VM);\r\n                return VM;\r\n            })();\r\n        }\r\n    }\r\n});\r\n```"}}