Add _.merge.

Former-commit-id: e393655b1fa41c8eb6ae1b925f456aa05231078a
This commit is contained in:
John-David Dalton
2012-08-02 00:28:19 -07:00
parent 896b8f7cf1
commit 5a9a18501d
3 changed files with 119 additions and 55 deletions

View File

@@ -9,15 +9,16 @@
var compiledVars = [
'accumulator',
'args',
'arrayClass',
'arrayLikeClasses',
'ArrayProto',
'bind',
'callback',
'callee',
'collection',
'compareAscending',
'concat',
'ctor',
'destValue',
'forIn',
'funcClass',
'funcs',
@@ -25,8 +26,11 @@
'identity',
'index',
'indexOf',
'isArr',
'isArray',
'isArguments',
'isFunc',
'isPlainObject',
'iteratee',
'iterateeIndex',
'iteratorBind',
@@ -81,6 +85,9 @@
/** Used to minify variables and string values to a single character */
var minNames = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
minNames.push.apply(minNames, minNames.map(function(value) {
return value + value;
}));
/** Used to protect the specified properties from getting minified */
var propWhitelist = [
@@ -162,6 +169,7 @@
'map',
'max',
'memoize',
'merge',
'methods',
'min',
'mixin',