Skip to content

Commit

Permalink
Fixed load problem. Seems to be solid.
Browse files Browse the repository at this point in the history
  • Loading branch information
raguay committed Jul 16, 2014
1 parent 1a15809 commit eb56238
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,17 @@ define(function(require, exports, module) {
Extensions.addTreeChanged(function(editor, e) {
var deltas = e.deltas;
for (var i = 0; i < deltas.length; i++) {
var updatedNode = deltas[i].updatedNode;
var updatedNode = deltas[i].updatedNode,
insertedNodes = deltas[i].insertedNodes,
length = 0;

length = insertedNodes.length;
for (var j = 0; j < length; j++) {
var each = insertedNodes[j];
if (inMathArea(each)) {
ProcessNode(each);
}
}

if (updatedNode) {
//
Expand Down

0 comments on commit eb56238

Please sign in to comment.