From 7bcd6ad514f9d5682a2a5d5e892fc820d8ad1cce Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Fri, 8 Jun 2012 19:36:51 -0400 Subject: [PATCH] Fix #1391 - Use apply in example to account for variadic usage. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 06cde8d2..ed67826b 100644 --- a/index.html +++ b/index.html @@ -786,7 +786,7 @@ var PrivateNote = Note.extend({
 var Note = Backbone.Model.extend({
   set: function(attributes, options) {
-    Backbone.Model.prototype.set.call(this, attributes, options);
+    Backbone.Model.prototype.set.apply(this, arguments);
     ...
   }
 });