Merge qunit clib and extras.

This commit is contained in:
John-David Dalton
2013-11-30 15:17:53 -06:00
parent 94f8ac8d1d
commit b7f7ba06b9
8 changed files with 568 additions and 594 deletions

View File

@@ -83,7 +83,7 @@
root.addEventListener || (root.addEventListener = noop),
root.setTimeout || (root.setTimeout = noop),
root.QUnit = load('../vendor/qunit/qunit/qunit.js') || root.QUnit,
(load('../vendor/qunit-clib/qunit-clib.js') || { 'runInContext': noop }).runInContext(root),
(load('../vendor/qunit-extras/qunit-extras.js') || { 'runInContext': noop }).runInContext(root),
addEventListener === noop && delete root.addEventListener,
root.QUnit
);
@@ -91,10 +91,6 @@
/*--------------------------------------------------------------------------*/
// load QUnit extras
if (load) {
(load('./asset/qunit-extras.js') || { 'runInContext': noop }).runInContext(root);
}
// log params passed to `test.js`
if (params) {
console.log('test.js invoked with arguments: ' + JSON.stringify(slice.call(params)));