Ensure Backbone test only adds missing methods.

This commit is contained in:
John-David Dalton
2016-01-15 23:36:29 -08:00
parent c0a6f051fc
commit 6ecc675670

View File

@@ -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];