We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecc3c58 commit ae88eceCopy full SHA for ae88ece
diffDOM.js
@@ -850,13 +850,15 @@
850
value: node.data
851
}));
852
gaps1.splice(index2, 0, true);
853
+ shortest = Math.min(gaps1.length, gaps2.length);
854
} else {
855
diffs.push(new Diff({
856
action: 'addElement',
857
route: route.concat(index2),
858
element: cloneObj(node)
859
860
861
862
}
863
864
} else if (gaps1[index2] !== gaps2[index2]) {
0 commit comments