mirror of
https://github.com/systemjs/systemjs.git
synced 2026-02-01 15:59:54 +00:00
initial location config
This commit is contained in:
parent
b32fff1bc5
commit
90f13f9d8a
14
loader.js
14
loader.js
@ -9,8 +9,9 @@
|
||||
*
|
||||
*/
|
||||
(function() {
|
||||
var config = window.jspm || {};
|
||||
var startConfig = window.jspm || {};
|
||||
|
||||
var config = {};
|
||||
config.waitSeconds = 20;
|
||||
config.map = config.map || {};
|
||||
config.locations = config.locations || {};
|
||||
@ -426,8 +427,17 @@
|
||||
jspm.ondemand = function(resolvers) {
|
||||
jspm.ondemand(resolvers);
|
||||
}
|
||||
}
|
||||
|
||||
// add convenience locations
|
||||
jspm.config({
|
||||
locations: {
|
||||
github: 'http://github.jspm.io/'
|
||||
}
|
||||
});
|
||||
|
||||
// add initial config
|
||||
jspm.config(startConfig);
|
||||
}
|
||||
|
||||
// dynamically polyfill the es6 loader if necessary
|
||||
if (!window.Loader) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user