initial location config

This commit is contained in:
guybedford 2013-07-10 21:19:31 -07:00
parent b32fff1bc5
commit 90f13f9d8a

View File

@ -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) {