mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Add ES6 _.assign alias of _.extend.
Former-commit-id: 20a0e0d295cb90a1756a5831b0b6684b97477170
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
'collection',
|
||||
'createCallback',
|
||||
'ctor',
|
||||
'guard',
|
||||
'hasOwnProperty',
|
||||
'index',
|
||||
'isArguments',
|
||||
@@ -27,6 +28,7 @@
|
||||
'propertyIsEnumerable',
|
||||
'result',
|
||||
'skipProto',
|
||||
'source',
|
||||
'thisArg',
|
||||
'value'
|
||||
];
|
||||
@@ -63,6 +65,7 @@
|
||||
'all',
|
||||
'amd',
|
||||
'any',
|
||||
'assign',
|
||||
'attachEvent',
|
||||
'bind',
|
||||
'bindAll',
|
||||
@@ -212,7 +215,7 @@
|
||||
return source;
|
||||
}
|
||||
|
||||
// remove copyright to add later in post-compile.js
|
||||
// remove copyright/license header to add later in post-compile.js
|
||||
source = source.replace(/\/\*![\s\S]+?\*\//, '');
|
||||
|
||||
// add brackets to whitelisted properties so the Closure Compiler won't mung them
|
||||
|
||||
Reference in New Issue
Block a user