Update test configs and move builds.

Former-commit-id: dc14112821f14101f107f90e9aeb5abec55b18a6
This commit is contained in:
John-David Dalton
2013-02-02 19:33:29 -08:00
parent b5aa4c1f0c
commit f87b4e04f1
8 changed files with 4702 additions and 11 deletions

View File

@@ -35,7 +35,7 @@
var QUnit =
window.QUnit || (
window.addEventListener || (window.addEventListener = Function.prototype),
window.setTimeout || (window.setTimeout = Function.prototype),
window.setTimeout || (window.setTimeout = / /),
window.QUnit = load('../vendor/qunit/qunit/qunit.js') || window.QUnit,
load('../vendor/qunit-clib/qunit-clib.js'),
window.addEventListener === Function.prototype && delete window.addEventListener,
@@ -609,7 +609,7 @@
test('lodash.' + methodName + ' should not throw strict mode errors', function() {
var object = { 'a': null, 'b': function(){} },
pass = true;
pass = !/dist\/lodash(\.min)?\.js/.test(typeof ui != 'undefined' ? ui.buildPath : filePath);
if (freeze) {
freeze(object);
@@ -620,7 +620,7 @@
func(object, { 'a': 1 });
}
} catch(e) {
pass = false;
pass = !pass;
}
ok(pass);
}