Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Remove noArgumentsClass check from isPlainObject and minor repo h…
Browse files Browse the repository at this point in the history
…ousekeeping.
  • Loading branch information
jdalton committed Aug 17, 2012
1 parent f6884dc commit f6da8b5
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 84 deletions.
3 changes: 2 additions & 1 deletion benchmark.js
Expand Up @@ -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`
Expand Down Expand Up @@ -3091,6 +3091,7 @@

/**
* The maximum time a benchmark is allowed to run before finishing (secs).
*
* Note: Cycle delays aren't counted toward the maximum time.
*
* @memberOf Benchmark.options
Expand Down

0 comments on commit f6da8b5

Please sign in to comment.