Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Commit 8a9aff6

Browse files
committed
update and bugfixs
1 parent d48352c commit 8a9aff6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

js.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@
338338
$js(s,function(){
339339
requiredGroups[i].push(getSrc(s));
340340
if(requiredGroups[i].sort().toString()==u){
341-
c();
341+
if(typeof(c)=='function')
342+
c();
342343
}
343344
},0);
344345
};
@@ -407,9 +408,9 @@
407408
tops[0].push(p);
408409
}
409410
}
410-
var ev = c?'c();':'';
411+
var ev = c?'if(c)c();':'';
411412
for(var k in tops.reverse()){
412-
for(var ks in tops[k]){
413+
for(var ks in tops[k].reverse()){
413414
var d = tops[k][ks];
414415
if(typeof(m[d])!='undefined'){
415416
for(var i in m[d].reverse()){

js.pack.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)