__module adjustment

This commit is contained in:
guybedford 2014-01-19 20:24:16 +02:00
parent 0f83977dee
commit 460a0141d2
3 changed files with 3 additions and 3 deletions

2
dist/system.js vendored
View File

@ -146,7 +146,7 @@ global.upgradeSystemLoader = function() {
if (output instanceof global.Module)
return output;
else
return new global.Module(output && output.__module ? output.__module : { __defaultOnly: true, 'default': output });
return new global.Module(output && output.__module ? (delete output.__module, output) : { __defaultOnly: true, 'default': output });
}
};
}

2
dist/system.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -81,7 +81,7 @@
if (output instanceof global.Module)
return output;
else
return new global.Module(output && output.__module ? output.__module : { __defaultOnly: true, 'default': output });
return new global.Module(output && output.__module ? (delete output.__module, output) : { __defaultOnly: true, 'default': output });
}
};
}