File tree Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " load" ,
3
3
"main" : " load.js" ,
4
- "version" : " 1.1.2 " ,
4
+ "version" : " 1.1.3 " ,
5
5
"description" : " Dynamically loading external JavaScript and CSS files" ,
6
6
"homepage" : " https://github.com/coderaiser/load.js" ,
7
7
"authors" : [
13
13
"keywords" : [
14
14
" load"
15
15
],
16
+ "ignore" : [],
16
17
"license" : " MIT" ,
17
- "_release" : " 1.1.2 " ,
18
+ "_release" : " 1.1.3 " ,
18
19
"_resolution" : {
19
20
"type" : " version" ,
20
- "tag" : " v1.1.2 " ,
21
- "commit" : " 967bd65c6b5af21da3d85ea4a2144014a28eee39 "
21
+ "tag" : " v1.1.3 " ,
22
+ "commit" : " a888f78f5634e8b93b98863d51ab530957413fbc "
22
23
},
23
24
"_source" : " git://github.com/coderaiser/load.js.git" ,
24
- "_target" : " ~1.1.0" ,
25
- "_originalSource" : " load"
25
+ "_target" : " ~1.1.3" ,
26
+ "_originalSource" : " load" ,
27
+ "_direct" : true
26
28
}
Original file line number Diff line number Diff line change
1
+ npm-debug.log
Original file line number Diff line number Diff line change
1
+ 2015.01.15, v1.1.3
2
+
3
+ fix:
4
+ - (load) parallel: add done
5
+
6
+ feature:
7
+ - (bower) add ignore
8
+ - (gitignore) add
9
+
10
+
1
11
2015.01.13, v1.1.2
2
12
3
13
feature:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " load" ,
3
3
"main" : " load.js" ,
4
- "version" : " 1.1.2 " ,
4
+ "version" : " 1.1.3 " ,
5
5
"description" : " Dynamically loading external JavaScript and CSS files" ,
6
6
"homepage" : " https://github.com/coderaiser/load.js" ,
7
7
"authors" : [
13
13
"keywords" : [
14
14
" load"
15
15
],
16
+ "ignore" : [],
16
17
"license" : " MIT"
17
18
}
Original file line number Diff line number Diff line change 118
118
119
119
load . parallel = function ( urls , callback ) {
120
120
var i = urls . length ,
121
+ done ,
121
122
func = function ( error ) {
122
123
-- i ;
123
124
124
- if ( error )
125
- i = 0 ;
126
-
127
- if ( ! i )
125
+ if ( ! i && ! done || error ) {
126
+ done = true ;
128
127
callback ( error ) ;
128
+ }
129
129
} ;
130
130
131
131
urls . forEach ( function ( url ) {
You can’t perform that action at this time.
0 commit comments