on master help sign in
Format code to be a bit more readable
154187cEvan Czaplicki
libraries/Native/Utils.js+6−1
@@ -9,7 +9,12 @@ Elm.Native.Utils.make = function(elm) {
9 if (x === y) return true;
9 if (x === y) return true;
10 if (typeof x === "object") {
10 if (typeof x === "object") {
11 var c = 0;
11 var c = 0;
12+ for (var i in x) {
13+ ++c;
14+ if (!eq(x[i],y[i])) {
12− for (var i in x) { ++c; if (!eq(x[i],y[i])) return false; }
15+ return false;
16+ }
17+ }
13 return c === Object.keys(y).length;
18 return c === Object.keys(y).length;
14 }
19 }
15 if (typeof x === 'function') {
20 if (typeof x === 'function') {