Fix #1391 - Use apply in example to account for variadic usage.

This commit is contained in:
Brad Dunbar
2012-06-08 19:36:51 -04:00
parent ee062f6de6
commit 7bcd6ad514

View File

@@ -786,7 +786,7 @@ var PrivateNote = Note.extend({
<pre>
var Note = Backbone.Model.extend({
set: function(attributes, options) {
Backbone.Model.prototype.set.call(this, attributes, options);
Backbone.Model.prototype.set.apply(this, arguments);
...
}
});