mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Drop 'use strict' in the unit tests and make its IIFE more closely resemble lodash's.
This commit is contained in:
11
test/test.js
11
test/test.js
@@ -1,9 +1,14 @@
|
||||
;(function(root, undefined) {
|
||||
'use strict';
|
||||
;(function() {
|
||||
|
||||
/** Used as a safe reference for `undefined` in pre ES5 environments */
|
||||
var undefined;
|
||||
|
||||
/** Used as the size when optimizations are enabled for arrays */
|
||||
var LARGE_ARRAY_SIZE = 75;
|
||||
|
||||
/** Used as a reference to the global object */
|
||||
var root = typeof global == 'object' && global || this;
|
||||
|
||||
/** Used to store Lo-Dash to test for bad extensions/shims */
|
||||
var lodashBizarro = root.lodashBizarro;
|
||||
|
||||
@@ -9192,4 +9197,4 @@
|
||||
QUnit.config.noglobals = true;
|
||||
QUnit.start();
|
||||
}
|
||||
}(typeof global == 'object' && global || this));
|
||||
}.call(this));
|
||||
|
||||
Reference in New Issue
Block a user