diff --git a/source/Ox.js b/source/Ox.js index a24cac17..a7371ca4 100644 --- a/source/Ox.js +++ b/source/Ox.js @@ -4388,8 +4388,10 @@ Ox.isEqual = function(a, b) { isEqual = true; } else if (type == 'date') { isEqual = a.getTime() == b.getTime(); + /* toString doesn't do it } else if (['element', 'function'].indexOf(type) > -1) { isEqual = a.toString() == b.toString(); + */ } else if (type == 'regexp') { isEqual = a.global == b.global && a.ignore == b.ignore &&