Bump to v0.5.0.

Former-commit-id: f30f4b99104c94fb52df4c90dcda24b8ac51432c
This commit is contained in:
John-David Dalton
2012-08-17 02:28:42 -07:00
parent 9fa0aebfe9
commit 2d896f22d6
7 changed files with 203 additions and 189 deletions

View File

@@ -1044,7 +1044,7 @@
function isPlainObject(value) {
// avoid non-objects and false positives for `arguments` objects in IE < 9
var result = false;
if (!(value && typeof value == 'object') || (noArgumentsClass && isArguments(value))) {
if (!(value && typeof value == 'object') || isArguments(value)) {
return result;
}
// IE < 9 presents DOM nodes as `Object` objects except they have `toString`