mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Remove "use strict" directive from the "modern" builds.
Former-commit-id: 7d1d5dd8cb91deb51fbdf7cfda04f3e49c96c204
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user