Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit d267fc4

Browse files
committed
Remove assertion that throws in IE8
Throws because of the use of `Array.prototype.some`. Fixes #321
1 parent 3fa8477 commit d267fc4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/loader.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,6 @@ function logloads(loads) {
273273
// 15.2.4.6.1 AddDependencyLoad (load is parentLoad)
274274
.then(function(depLoad) {
275275

276-
console.assert(!load.dependencies.some(function(dep) {
277-
return dep.key == request;
278-
}), 'not already a dependency');
279-
280276
// adjusted from spec to maintain dependency order
281277
// this is due to the System.register internal implementation needs
282278
load.dependencies[index] = {

0 commit comments

Comments
 (0)