chore(npm): Upgrades systemjs to 0.18.3.
This commit is contained in:
27
test-main.js
27
test-main.js
@ -1,28 +1,23 @@
|
||||
// Tun on full stack traces in errors to help debugging
|
||||
Error.stackTraceLimit=Infinity;
|
||||
|
||||
// Use "register" extension from systemjs.
|
||||
// That's what Traceur outputs: `System.register()`.
|
||||
register(System);
|
||||
cjs(System);
|
||||
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 100;
|
||||
|
||||
// Cancel Karma's synchronous start,
|
||||
// we will call `__karma__.start()` later, once all the specs are loaded.
|
||||
__karma__.loaded = function() {};
|
||||
|
||||
System.baseURL = '/base/';
|
||||
|
||||
// So that we can import packages like `core/foo`, instead of `core/src/foo`.
|
||||
System.paths = {
|
||||
'*': './*.js',
|
||||
'benchpress/*': 'dist/js/dev/es5/benchpress/*.js',
|
||||
'angular2/*': 'dist/js/dev/es5/angular2/*.js',
|
||||
'http/*': 'dist/js/dev/es5/http/*.js',
|
||||
'rtts_assert/*': 'dist/js/dev/es5/rtts_assert/*.js',
|
||||
'rx': 'node_modules/rx/dist/rx.js'
|
||||
};
|
||||
System.config({
|
||||
baseURL: '/base/',
|
||||
defaultJSExtensions: true,
|
||||
paths: {
|
||||
'benchpress/*': 'dist/js/dev/es5/benchpress/*.js',
|
||||
'angular2/*': 'dist/js/dev/es5/angular2/*.js',
|
||||
'http/*': 'dist/js/dev/es5/http/*.js',
|
||||
'rtts_assert/*': 'dist/js/dev/es5/rtts_assert/*.js',
|
||||
'rx': 'node_modules/rx/dist/rx.js'
|
||||
}
|
||||
});
|
||||
|
||||
// Import all the specs, execute their `main()` method and kick off Karma (Jasmine).
|
||||
System.import('angular2/src/dom/browser_adapter').then(function(browser_adapter) {
|
||||
|
Reference in New Issue
Block a user