Avoid errors in modularized build runs.

This commit is contained in:
John-David Dalton
2014-11-14 11:52:18 -08:00
parent 056ff4b6ea
commit f9ce45c058

View File

@@ -6500,6 +6500,7 @@
}); });
test('should work using its fallback', 3, function() { test('should work using its fallback', 3, function() {
if (!isModularize) {
var lodash = _.runInContext(_.assign({}, root, { var lodash = _.runInContext(_.assign({}, root, {
'Uint8Array': { 'Uint8Array': {
'toString': function() { 'toString': function() {
@@ -6511,6 +6512,10 @@
strictEqual(lodash.isFunction(slice), true); strictEqual(lodash.isFunction(slice), true);
strictEqual(lodash.isFunction(/x/), false); strictEqual(lodash.isFunction(/x/), false);
strictEqual(lodash.isFunction(Uint8Array), toString.call(Uint8Array) == funcClass); strictEqual(lodash.isFunction(Uint8Array), toString.call(Uint8Array) == funcClass);
}
else {
skipTest(3);
}
}); });
test('should work with host objects in IE 8 document mode (test in IE 11)', 2, function() { test('should work with host objects in IE 8 document mode (test in IE 11)', 2, function() {