mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Cleanup test.js and perf.js and add _(array) benchmark.
Former-commit-id: bcd120c9ee332db39c7b637894751f2861bac069
This commit is contained in:
16
test/test.js
16
test/test.js
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user