Skip to content

Commit

Permalink
Make function definition formatting consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Morrison committed Nov 4, 2011
1 parent 7070c27 commit becb826
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
},

// Get the model at the given index.
at: function(index) {
at : function(index) {
return this.models[index];
},

Expand Down Expand Up @@ -554,7 +554,7 @@
// Proxy to _'s chain. Can't be proxied the same way the rest of the
// underscore methods are proxied because it relies on the underscore
// constructor.
chain: function () {
chain : function () {
return _(this.models).chain();
},

Expand All @@ -567,7 +567,7 @@
},

// Prepare a model to be added to this collection
_prepareModel: function(model, options) {
_prepareModel : function(model, options) {
if (!(model instanceof Backbone.Model)) {
var attrs = model;
model = new this.model(attrs, {collection: this});
Expand Down Expand Up @@ -977,7 +977,7 @@
},

// Clears all callbacks previously bound to the view with `delegateEvents`.
undelegateEvents: function() {
undelegateEvents : function() {
$(this.el).unbind('.delegateEvents' + this.cid);
},

Expand Down

0 comments on commit becb826

Please sign in to comment.