From d7c8041aa1553fcae2bd4211df18cbc98b2b75fe Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 15 Nov 2012 23:51:49 -0800 Subject: [PATCH] Update Backbone build method dependencies. Former-commit-id: 808b991f6cebc72c182ce8d0def370778cce0b05 --- build.js | 9 +++++++-- test/test-build.js | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/build.js b/build.js index 722333f80..6320a3a91 100755 --- a/build.js +++ b/build.js @@ -182,12 +182,15 @@ /** List of all Lo-Dash methods */ var allMethods = _.keys(dependencyMap); - /** List Backbone's Lo-Dash dependencies */ + /** List of Backbone's Lo-Dash dependencies */ var backboneDependencies = [ 'bind', 'bindAll', + 'chain', 'clone', 'contains', + 'countBy', + 'defaults', 'escape', 'every', 'extend', @@ -206,14 +209,15 @@ 'isFunction', 'isObject', 'isRegExp', + 'isString', 'keys', 'last', 'lastIndexOf', - 'lateBind', 'map', 'max', 'min', 'mixin', + 'pick', 'reduce', 'reduceRight', 'reject', @@ -226,6 +230,7 @@ 'sortedIndex', 'toArray', 'uniqueId', + 'value', 'without' ]; diff --git a/test/test-build.js b/test/test-build.js index 7c5b33c59..681c3d779 100644 --- a/test/test-build.js +++ b/test/test-build.js @@ -198,8 +198,11 @@ var backboneDependencies = [ 'bind', 'bindAll', + 'chain', 'clone', 'contains', + 'countBy', + 'defaults', 'escape', 'every', 'extend', @@ -218,6 +221,7 @@ 'isFunction', 'isObject', 'isRegExp', + 'isString', 'keys', 'last', 'lastIndexOf', @@ -225,6 +229,7 @@ 'max', 'min', 'mixin', + 'pick', 'reduce', 'reduceRight', 'reject', @@ -237,6 +242,7 @@ 'sortedIndex', 'toArray', 'uniqueId', + 'value', 'without' ];