Skip to content

Commit

Permalink
Fix #1391 - Use apply in example to account for variadic usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
braddunbar committed Jun 8, 2012
1 parent ee062f6 commit 7bcd6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ <h2 id="Model">Backbone.Model</h2>
<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);
...
}
});
Expand Down

0 comments on commit 7bcd6ad

Please sign in to comment.