From 44de0af5040f1c8a6ed007758549f9d558b9625e Mon Sep 17 00:00:00 2001 From: douglascalhoun Date: Fri, 23 Aug 2013 16:11:36 -0700 Subject: [PATCH] (2x) new Collection -> new Backbone.Collection Apologies in advance if I've misunderstood this. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 58db3332..2d8e032e 100644 --- a/index.html +++ b/index.html @@ -1604,7 +1604,7 @@ var Library = Backbone.Collection.extend({

- constructor / initializenew Collection([models], [options]) + constructor / initializenew Backbone.Collection([models], [options])
When creating a Collection, you may choose to pass in the initial array of models. The collection's comparator @@ -1798,7 +1798,7 @@ ships.add([

-var vanHalen = new Collection([eddie, alex, stone, roth]);
+var vanHalen = new Backbone.Collection([eddie, alex, stone, roth]);
 
 vanHalen.set([eddie, alex, stone, hagar]);