Update QUnit to 1.16.0.

This commit is contained in:
John-David Dalton
2014-12-13 22:46:35 -08:00
parent 2ef25b6338
commit 579794666a
2 changed files with 4 additions and 12 deletions

View File

@@ -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": [

View File

@@ -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));