Don't expose _.create for underscore build.

This commit is contained in:
John-David Dalton
2013-10-19 08:26:32 -07:00
parent 33ff9cfbb6
commit eca1d9aabd
2 changed files with 15 additions and 16 deletions

View File

@@ -507,7 +507,7 @@
if (ctorA != ctorB &&
!(isFunction(ctorA) && ctorA instanceof ctorA && isFunction(ctorB) && ctorB instanceof ctorB) &&
(!nativeCreate || ('constructor' in a && 'constructor' in b))
('constructor' in a && 'constructor' in b)
) {
return false;
}
@@ -4602,7 +4602,6 @@
lodash.compact = compact;
lodash.compose = compose;
lodash.countBy = countBy;
lodash.create = create;
lodash.debounce = debounce;
lodash.defaults = defaults;
lodash.defer = defer;