Remove "use strict" directive from the "modern" builds.

Former-commit-id: 7d1d5dd8cb91deb51fbdf7cfda04f3e49c96c204
This commit is contained in:
John-David Dalton
2013-02-04 19:48:55 -08:00
parent a926829c33
commit d87929d61c
3 changed files with 8 additions and 9 deletions

View File

@@ -628,7 +628,7 @@
test('lodash.' + methodName + ' should not throw strict mode errors', function() {
var object = { 'a': null, 'b': function(){} },
pass = !/dist\/lodash(\.min)?\.js/.test(typeof ui != 'undefined' ? ui.buildPath : filePath);
pass = true;
if (freeze) {
freeze(object);
@@ -639,7 +639,7 @@
func(object, { 'a': 1 });
}
} catch(e) {
pass = !pass;
pass = false;
}
ok(pass);
}