mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Update QUnit to 1.16.0.
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
"jquery": "~1.11.1",
|
"jquery": "~1.11.1",
|
||||||
"platform": "~1.3.0",
|
"platform": "~1.3.0",
|
||||||
"qunit-extras": "~1.3.0",
|
"qunit-extras": "~1.3.0",
|
||||||
"qunitjs": "~1.11.0",
|
"qunitjs": "~1.16.0",
|
||||||
"requirejs": "~2.1.15"
|
"requirejs": "~2.1.15"
|
||||||
},
|
},
|
||||||
"engines": [
|
"engines": [
|
||||||
|
|||||||
14
test/test.js
14
test/test.js
@@ -131,18 +131,10 @@
|
|||||||
/** Use a single "load" function. */
|
/** Use a single "load" function. */
|
||||||
var load = (typeof require == 'function' && !amd)
|
var load = (typeof require == 'function' && !amd)
|
||||||
? require
|
? require
|
||||||
: (isJava && root.load) || noop;
|
: (isJava ? root.load : noop);
|
||||||
|
|
||||||
/** The unit testing framework. */
|
/** The unit testing framework. */
|
||||||
var QUnit = (function() {
|
var QUnit = root.QUnit || (root.QUnit = load('../node_modules/qunitjs/qunit/qunit.js') || root.QUnit);
|
||||||
return root.QUnit || (
|
|
||||||
root.addEventListener || (root.addEventListener = noop),
|
|
||||||
root.setTimeout || (root.setTimeout = noop),
|
|
||||||
root.QUnit = load('../node_modules/qunitjs/qunit/qunit.js') || root.QUnit,
|
|
||||||
addEventListener === noop && delete root.addEventListener,
|
|
||||||
root.QUnit
|
|
||||||
);
|
|
||||||
}());
|
|
||||||
|
|
||||||
/** Load and install QUnit Extras and ES6 Set/WeakMap shims. */
|
/** Load and install QUnit Extras and ES6 Set/WeakMap shims. */
|
||||||
(function() {
|
(function() {
|
||||||
@@ -13953,6 +13945,6 @@
|
|||||||
|
|
||||||
if (!document) {
|
if (!document) {
|
||||||
QUnit.config.noglobals = true;
|
QUnit.config.noglobals = true;
|
||||||
QUnit.start();
|
QUnit.load();
|
||||||
}
|
}
|
||||||
}.call(this));
|
}.call(this));
|
||||||
|
|||||||
Reference in New Issue
Block a user