Skip to content

Commit

Permalink
Merge pull request #5 from jridgewell/apply_direct
Browse files Browse the repository at this point in the history
Directly apply arguments
  • Loading branch information
amasad committed Jun 15, 2014
2 parents 3ff67a3 + 4b9e7e0 commit 8c02a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.declarative.js
Expand Up @@ -16,7 +16,7 @@

Backbone.View = _View.extend({
constructor: function () {
_View.apply(this, Array.prototype.slice.call(arguments));
_View.apply(this, arguments);
this.bindModelEvents();
this.bindCollectionEvents();
}
Expand Down

0 comments on commit 8c02a2e

Please sign in to comment.