angular - jspm.io is searching remotely for my local module -
i have strange issue. code below works fine. if change angular script, local one. of sudden, when
system.import('components/app/app')
runs, it searches on jspm.io script, instead of local. why this?
<!doctype html> <html> <head> <script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@@0.0.87/traceur-runtime.js"></script> <script src="https://jspm.io/system@@0.16.js"></script> <script src="https://code.angularjs.org/2.0.0-alpha.22/angular2.dev.js"></script> <script> system.traceuroptions = { annotations: true, membervariables: true, typeassertions: false, types: true }; system.config({ baseurl: '/' }); </script> <script src="/javascripts/libs/zone.js"></script> <script src="/javascripts/libs/long-stack-trace-zone.js"></script> </head> <body> @html.block('primary', function(model){ <app></app> }) <script> system.import('components/app/app').then(function(module) { // uncomment debugging. // zone = zone.fork(zone.longstacktracezone); //return module.main(); }); </script> </body> </html>
Comments
Post a Comment