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