mirror of
https://github.com/systemjs/systemjs.git
synced 2026-02-01 15:59:54 +00:00
Update loader.js
This commit is contained in:
parent
d2b29d26ca
commit
33a27c584f
@ -185,7 +185,7 @@
|
||||
}
|
||||
|
||||
// then just use standard resolution
|
||||
return System.resolve(name, options);
|
||||
return System.resolve.call(this, name, options);
|
||||
},
|
||||
fetch: function(url, callback, errback, options) {
|
||||
// do a fetch with a timeout
|
||||
@ -391,7 +391,7 @@
|
||||
return normalized;
|
||||
},
|
||||
resolve: function(name, options) {
|
||||
var resolved = loaderHooks.resolve(name, options);
|
||||
var resolved = loaderHooks.resolve.call(this, name, options);
|
||||
if (options.metadata && options.metadata.plugin) {
|
||||
if (resolved.address)
|
||||
resolved.address = resolved.address.substr(0, resolved.address.length - 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user