ensure _scriptcraft.js is first to doc
This commit is contained in:
parent
c44dd44e66
commit
3c178450c4
1 changed files with 3 additions and 2 deletions
|
@ -34,7 +34,8 @@ var sortByModule = function(a,b){
|
||||||
var afile = aparts[aparts.length-1];
|
var afile = aparts[aparts.length-1];
|
||||||
var bdir = bparts[bparts.length-2];
|
var bdir = bparts[bparts.length-2];
|
||||||
var bfile = bparts[bparts.length-1];
|
var bfile = bparts[bparts.length-1];
|
||||||
|
if (afile == "_scriptcraft.js")
|
||||||
|
return -1;
|
||||||
if(adir<bdir) return -1;
|
if(adir<bdir) return -1;
|
||||||
if(adir>bdir) return 1;
|
if(adir>bdir) return 1;
|
||||||
if (afile.indexOf(adir) == 0)
|
if (afile.indexOf(adir) == 0)
|
||||||
|
|
Reference in a new issue