diff --git a/backbone.js b/backbone.js index df6f538e..69ea96dc 100644 --- a/backbone.js +++ b/backbone.js @@ -641,7 +641,7 @@ var methods = ['forEach', 'each', 'map', 'reduce', 'reduceRight', 'find', 'detect', 'filter', 'select', 'reject', 'every', 'all', 'some', 'any', 'include', 'contains', 'invoke', 'max', 'min', 'sortBy', 'sortedIndex', 'toArray', 'size', - 'first', 'rest', 'last', 'without', 'indexOf', 'lastIndexOf', 'isEmpty']; + 'first', 'rest', 'last', 'without', 'indexOf', 'lastIndexOf', 'isEmpty', 'groupBy']; // Mix in each Underscore method as a proxy to `Collection#models`. _.each(methods, function(method) { diff --git a/index.html b/index.html index 1b72816b..2c5e6333 100644 --- a/index.html +++ b/index.html @@ -207,7 +207,7 @@
- Underscore Methods (25)
+ Underscore Methods (26)
- Backbone proxies to Underscore.js to provide 25 iteration functions
+ Backbone proxies to Underscore.js to provide 26 iteration functions
on Backbone.Collection. They aren't all documented here, but
you can take a look at the Underscore documentation for the full details…