1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-16 05:34:06 +02:00

better sketched, packing

This commit is contained in:
Pomax
2015-12-20 22:34:32 -08:00
parent 2e0a7c68d5
commit 719b0b09af
12 changed files with 452 additions and 203 deletions

View File

@@ -6,7 +6,7 @@ var op = "<pre>";
var ed = "</pre>";
function hasTokens(input) {
return input.indexOf(op) + input.indexOf(ed) >= 0;
return input.indexOf(op) !== -1 && input.indexOf(ed) !== -1;
}
function fixPreBlocks(source) {