Skip to content

Commit 7a8f79c

Browse files
committed
Update angular-async-loader.js
1 parent de7f204 commit 7a8f79c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

angular-async-loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
}
2222
} else if (typeof(seajs) === 'object' && typeof(seajs.use) === 'function') {
2323
return seajs.use;
24-
} else if (typeof(System) === 'object' && typeof(System.import) === 'function') {
25-
return System.import;
24+
} else if (typeof(System) === 'object' && typeof(System.amdRequire) === 'function') {
25+
return System.amdRequire;
2626
}
2727
throw new Error('No amd/cmd module loader found.');
2828
}());

0 commit comments

Comments
 (0)