semicolonify demo files;

This commit is contained in:
nightwing 2013-11-13 21:09:28 +04:00
commit fada97f807
7 changed files with 59 additions and 62 deletions

View file

@ -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) {