mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-18 14:53:14 +00:00
#1006 bug
This commit is contained in:
parent
0b9faaadef
commit
ec4adbd397
@ -65,8 +65,8 @@
|
||||
// note if normalize will add a default js extension
|
||||
// if so, remove for backwards compat
|
||||
// this is strange and sucks, but will be deprecated
|
||||
function checkDefaultExtension(loader, name) {
|
||||
return loader.defaultJSExtensions && parsed.argument.substr(parsed.argument.length - 3, 3) != '.js';
|
||||
function checkDefaultExtension(loader, arg) {
|
||||
return loader.defaultJSExtensions && arg.substr(arg.length - 3, 3) != '.js';
|
||||
}
|
||||
|
||||
function createNormalizeSync(normalizeSync) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user