This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/commands/math.js b/src/commands/math.js | |
index 197507c..50a768b 100644 | |
--- a/src/commands/math.js | |
+++ b/src/commands/math.js | |
@@ -431,11 +431,10 @@ var MathBlock = P(MathElement, function(_, super_) { | |
API.StaticMath = function(APIClasses) { | |
return P(APIClasses.AbstractMathQuill, function(_, super_) { | |
this.RootBlock = MathBlock; | |
+ this.rootClassNames = 'mq-math-mode'; | |
_.__mathquillify = function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//timestamp: [time difference from previous] message | |
34: [34µs] about to do this.each (jQuery.fn.each) | |
62: [28µs] entered this.each, about to do .attr and MathElement[] lookup | |
118: [56µs] done, there is a block! | |
122: [4µs] got cursor, about to do cursor.clearSelection() | |
130: [8µs] did cursor.clearSelection(), about to do block.renderLatex(latex) | |
139: [9µs] got jQ, about to empty except for textarea | |
554: [415µs] emptied jQ, about to delete children from edit tree | |
566: [12µs] appending cursor | |
795: [229µs] appended cursor, this.cursor.writeLatex() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//timestamp: [time difference from previous] message | |
32: [32µs] about to do this.each (jQuery.fn.each) | |
50: [18µs] entered this.each, about to do .attr and MathElement[] lookup | |
80: [30µs] done, there is a block! | |
84: [4µs] got cursor, about to do cursor.clearSelection() | |
89: [5µs] did cursor.clearSelection(), about to do block.renderLatex(latex) | |
431: [342µs] parsed latex | |
436: [5µs] cleared children from edit tree | |
447: [11µs] adopted into edit tree | |
533: [86µs] detached textarea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72: [72µs] about to do this.each (jQuery.fn.each) | |
87: [15µs] entered this.each, about to do .attr and MathElement[] lookup | |
117: [30µs] done, there is a block! | |
120: [3µs] got cursor, about to do cursor.clearSelection() | |
124: [4µs] did cursor.clearSelection(), about to do block.renderLatex(latex) | |
128: [4µs] got jQ, about to empty except for textarea | |
307: [179µs] emptied jQ, about to delete children from edit tree | |
311: [4µs] appending cursor | |
616: [305µs] appended cursor, this.cursor.writeLatex() | |
621: [5µs] cleared upDown cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28: [28µs] about to do this.each (jQuery.fn.each) | |
44: [16µs] entered this.each, about to do .attr and MathElement[] lookup | |
73: [29µs] done, there is a block! | |
76: [3µs] got cursor, about to do cursor.clearSelection() | |
80: [4µs] did cursor.clearSelection(), about to do block.renderLatex(latex) | |
235: [155µs] parsed latex | |
239: [4µs] cleared children from edit tree | |
246: [7µs] adopted into edit tree | |
318: [72µs] detached textarea | |
380: [62µs] generated html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12: [12µs] about to do this.each (jQuery.fn.each) | |
26: [14µs] entered this.each, about to do .attr and MathElement[] lookup | |
54: [28µs] done, there is a block! | |
59: [5µs] got cursor, about to do cursor.clearSelection() | |
63: [4µs] did cursor.clearSelection(), about to do block.renderLatex(latex) | |
174: [111µs] parsed latex | |
177: [3µs] cleared children from edit tree | |
185: [8µs] adopted into edit tree | |
248: [63µs] generated html | |
575: [327µs] set innerHTML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3: [3µs] about to do this.each (jQuery.fn.each) | |
14: [11µs] entered this.each, about to do .attr and MathElement[] lookup | |
40: [26µs] done, there is a block! | |
41: [1µs] got jQ, about to empty except for textarea | |
233: [192µs] emptied jQ, aboout to postOrder dispose | |
442: [209µs] postOrder-ed dispose, about to delete children from edit tree | |
445: [3µs] inserting cursor at right end | |
732: [287µs] inserted crsor, this.cursor.writeLatex() | |
874: [142µs] notified 'edit' | |
1531: [657µs] parsed latex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3: [3µs] about to do this.each (jQuery.fn.each) | |
13: [10µs] entered this.each, about to do .attr and MathElement[] lookup | |
37: [24µs] done, there is a block! | |
438: [401µs] parsed latex | |
617: [179µs] postOrder-ed dispose, about to delete children from edit tree | |
619: [2µs] cleared children from edit tree | |
672: [53µs] adopted into edit tree | |
733: [61µs] detached textarea | |
886: [153µs] generated html | |
1179: [293µs] set innerHTML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4: [4µs] about to do this.each (jQuery.fn.each) | |
16: [12µs] entered this.each, about to do .attr and MathElement[] lookup | |
45: [29µs] done, there is a block! | |
470: [425µs] parsed latex | |
679: [209µs] postOrder-ed dispose, about to delete children from edit tree | |
682: [3µs] cleared children from edit tree | |
747: [65µs] adopted into edit tree | |
835: [88µs] detached textarea | |
1043: [208µs] generated html | |
1454: [411µs] set innerHTML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3: [3µs] about to do this.each (jQuery.fn.each) | |
14: [11µs] entered this.each, about to do .attr and MathElement[] lookup | |
41: [27µs] done, there is a block! | |
530: [489µs] parsed latex | |
776: [246µs] postOrder-ed dispose, about to delete children from edit tree | |
779: [3µs] cleared children from edit tree | |
862: [83µs] adopted into edit tree | |
1052: [190µs] generated html | |
1449: [397µs] set innerHTML | |
1862: [413µs] jQize-d |