File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ define([
8
8
] , function ( _ ) {
9
9
'use strict' ;
10
10
11
- var context = require . s . contexts . _ ,
12
- execCb = context . execCb ,
13
- registry = context . registry ,
14
- callbacks = [ ] ,
15
- retries = 10 ,
11
+ var context = require . s . contexts . _ ,
12
+ execCb = context . execCb ,
13
+ registry = context . registry ,
14
+ callbacks = [ ] ,
15
+ retries = 10 ,
16
16
updateDelay = 1 ,
17
17
ready ,
18
18
update ;
@@ -28,13 +28,13 @@ define([
28
28
}
29
29
30
30
/**
31
- * Checks if provided module is rejected during load.
31
+ * Checks if provided module is registered after load.
32
32
*
33
33
* @param {Object } module - Module to be checked.
34
34
* @return {Boolean }
35
35
*/
36
- function isRejected ( module ) {
37
- return registry [ module . id ] && registry [ module . id ] . error ;
36
+ function isRegistered ( module ) {
37
+ return registry [ module . id ] ;
38
38
}
39
39
40
40
/**
@@ -48,7 +48,7 @@ define([
48
48
return false ;
49
49
}
50
50
51
- return module . depCount > _ . filter ( module . depMaps , isRejected ) . length ;
51
+ return module . depCount > _ . filter ( module . depMaps , isRegistered ) . length ;
52
52
}
53
53
54
54
/**
You can’t perform that action at this time.
0 commit comments