mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Ensure Backbone test only adds missing methods.
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
return function(_) {
|
return function(_) {
|
||||||
lodash.defaultsDeep(_, { 'templateSettings': lodash.templateSettings });
|
lodash.defaultsDeep(_, { 'templateSettings': lodash.templateSettings });
|
||||||
lodash.mixin(_, lodash.pick(lodash, [
|
lodash.mixin(_, lodash.pick(lodash, lodash.difference([
|
||||||
'countBy',
|
'countBy',
|
||||||
'debounce',
|
'debounce',
|
||||||
'difference',
|
'difference',
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
'reject',
|
'reject',
|
||||||
'sample',
|
'sample',
|
||||||
'without'
|
'without'
|
||||||
]));
|
], lodash.functions(_))));
|
||||||
|
|
||||||
lodash.forOwn(keyMap, function(realName, otherName) {
|
lodash.forOwn(keyMap, function(realName, otherName) {
|
||||||
_[otherName] = lodash[realName];
|
_[otherName] = lodash[realName];
|
||||||
|
|||||||
Reference in New Issue
Block a user