mirror of
https://github.com/systemjs/systemjs.git
synced 2026-02-01 15:59:54 +00:00
location.origin IE compatibility
This commit is contained in:
parent
92173c1c48
commit
8b841dcde4
@ -29,7 +29,7 @@ function cjs(loader) {
|
||||
}
|
||||
|
||||
if (typeof location != 'undefined' && location.origin)
|
||||
var curOrigin = location.origin;
|
||||
var curOrigin = location.protocol + '//' + location.hostname + (location.port ? ':' + location.port : '');
|
||||
|
||||
var loaderInstantiate = loader.instantiate;
|
||||
loader.instantiate = function(load) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user