1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-18 14:31:24 +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

@@ -5,7 +5,7 @@ var ed = "\\]";
* Is there going to be anything to convert here?
*/
function hasLaTeX(input) {
return input.indexOf(op) + input.indexOf(ed) >= 0;
return input.indexOf(op) !== -1 && input.indexOf(ed) !== -1;
}
/**