Cleanup test.js and perf.js and add _(array) benchmark.

Former-commit-id: bcd120c9ee332db39c7b637894751f2861bac069
This commit is contained in:
John-David Dalton
2013-03-09 18:15:32 -08:00
parent cbf20b3271
commit 31e4e631f9
4 changed files with 36 additions and 40 deletions

View File

@@ -43,19 +43,17 @@
}());
/** The `lodash` function to test */
var _ =
window._ || (
_ = load(filePath) || window._,
_ = _._ || _,
_.runInContext(window)
);
var _ = window._ || (window._ = (
_ = load(filePath) || window._,
_ = _._ || _,
_.runInContext(window)
));
/** The `platform` object to check */
var platform = (
window.platform ||
var platform = window.platform || (window.platform = (
load('../vendor/platform.js/platform.js') ||
window.platform
);
));
/** Used to pass falsey values to methods */
var falsey = [