semicolonify demo files;
This commit is contained in:
parent
753dbbece5
commit
fada97f807
7 changed files with 59 additions and 62 deletions
|
|
@ -95,7 +95,7 @@ modelist.modes.forEach(function(m) {
|
|||
if (ext[0] === "^") {
|
||||
path = ext.substr(1);
|
||||
} else {
|
||||
var path = m.name + "." + ext
|
||||
var path = m.name + "." + ext;
|
||||
}
|
||||
path = "docs/" + path;
|
||||
if (!docs[path]) {
|
||||
|
|
@ -103,7 +103,7 @@ modelist.modes.forEach(function(m) {
|
|||
} else if (typeof docs[path] == "object" && !docs[path].name) {
|
||||
docs[path].name = m.caption;
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ function sort(list) {
|
|||
return list.sort(function(a, b) {
|
||||
var cmp = (b.order || 0) - (a.order || 0);
|
||||
return cmp || a.name && a.name.localeCompare(b.name);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
function prepareDocList(docs) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue