base url revert

This commit is contained in:
guybedford 2013-07-05 13:08:15 -07:00
parent 568e9af566
commit f47bacd0f5

View File

@ -81,7 +81,7 @@
window.createLoader = function() {
delete window.createLoader;
config.baseURL = config.baseURL || 'http://git.jspm.io';
config.baseURL = config.baseURL || document.URL.substring(0, window.location.href.lastIndexOf('\/') + 1);
// hooks without plugin logic
var loaderHooks = {