doh. messed up isNumber fix

This commit is contained in:
Noah Sloan
2009-12-08 16:03:53 -06:00
parent 6554c6d976
commit 37930f92e0

View File

@@ -478,7 +478,7 @@
// have to define isNumber before _.each will work in IE
_.isNumber = function(obj) {
return Object.prototype.toString == '[object Number]';
return Object.prototype.toString.call(obj) == '[object Number]';
};
// Define the isArray, isDate, isFunction, isRegExp, and