@@ -25,7 +25,7 @@ Elm.Native.Utils.make = function(elm) {
25 function compare(x,y) { return { ctor: ord[cmp(x,y)+1] } }
25 function compare(x,y) { return { ctor: ord[cmp(x,y)+1] } }
26 function cmp(x,y) {
26 function cmp(x,y) {
28− if (!(x instanceof Object) || x instanceof String){
28+ if (typeof x !== 'object' || x instanceof String){
29 return x === y ? EQ : x < y ? LT : GT;
29 return x === y ? EQ : x < y ? LT : GT;