@@ -5,8 +5,8 @@
55// structure.
66ElmRuntime.swap = function(from, to) {
77 function similar(nodeOld,nodeNew) {
8− idOkay = nodeOld.id === nodeNew.id;
9− lengthOkay = nodeOld.kids.length === nodeNew.kids.length;
8+ var idOkay = nodeOld.id === nodeNew.id;
9+ var lengthOkay = nodeOld.kids.length === nodeNew.kids.length;
1010 return idOkay && lengthOkay;
1111 }
1212 function swap(nodeOld,nodeNew) {