Don't display cmds used on the page by default + turn on worker support for now again
This commit is contained in:
parent
2fcc93c751
commit
aa8699a334
2 changed files with 19 additions and 13 deletions
|
@ -51,18 +51,19 @@ var handler = new MessageHandler("worker", {
|
|||
// TODO: Handle images here.
|
||||
|
||||
console.log("about to send page", pageNum);
|
||||
|
||||
// Make a copy of the fnArray and show all cmds it has.
|
||||
var fnArray = preCompilation.fnArray.slice(0).sort();
|
||||
for (var i = 0; i < fnArray.length; true) {
|
||||
if (fnArray[i] == fnArray[i + 1]) {
|
||||
fnArray.splice(i, 1);
|
||||
} else {
|
||||
i++;
|
||||
|
||||
if (false /* show used commands */) {
|
||||
// Make a copy of the fnArray and show all cmds it has.
|
||||
var fnArray = preCompilation.fnArray.slice(0).sort();
|
||||
for (var i = 0; i < fnArray.length; true) {
|
||||
if (fnArray[i] == fnArray[i + 1]) {
|
||||
fnArray.splice(i, 1);
|
||||
} else {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log("cmds", fnArray);
|
||||
|
||||
console.log("cmds", fnArray);
|
||||
}
|
||||
|
||||
handler.send("page", {
|
||||
pageNum: pageNum,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue