Bump to v1.0.0-rc.3.

Former-commit-id: d00d4d948fc0e2597e4ee2f2d15a9bee2dc27440
This commit is contained in:
John-David Dalton
2012-12-16 11:54:04 -08:00
parent 3ffefdf6b5
commit b847d672ab
5 changed files with 171 additions and 168 deletions

View File

@@ -133,6 +133,9 @@
var hasObjectSpliceBug = (hasObjectSpliceBug = { '0': 1, 'length': 1 },
arrayRef.splice.call(hasObjectSpliceBug, 0, 1), hasObjectSpliceBug[0]);
/** Detect if `arguments` objects are `Object` objects (all but Opera < 10.5) */
var argsAreObjects = arguments.constructor == Object;
/**
* Detect lack of support for accessing string characters by index:
*
@@ -435,7 +438,7 @@
'bottom': '',
'hasDontEnumBug': hasDontEnumBug,
'objectLoop': '',
'noArgsEnum': noArgsEnum,
'nonEnumArgs': nonEnumArgs,
'noCharByIndex': noCharByIndex,
'shadowed': shadowed,
'top': '',
@@ -935,7 +938,7 @@
var isArray = nativeIsArray || function(value) {
// `instanceof` may cause a memory leak in IE 7 if `value` is a host object
// http://ajaxian.com/archives/working-aroung-the-instanceof-memory-leak
return value instanceof Array || toString.call(value) == arrayClass;
return (argsAreObjects && value instanceof Array) || toString.call(value) == arrayClass;
};
/**