[Pkg-javascript-commits] [backbone] 68/281: Make function definition formatting consistent
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:01:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.9.0
in repository backbone.
commit becb8261682cacfaad0e8547cd2642590588ed5f
Author: Jason Morrison <jmorrison at thoughtbot.com>
Date: Fri Nov 4 16:22:05 2011 -0400
Make function definition formatting consistent
---
backbone.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/backbone.js b/backbone.js
index 2b91517..eab2e7a 100644
--- a/backbone.js
+++ b/backbone.js
@@ -481,7 +481,7 @@
},
// Get the model at the given index.
- at: function(index) {
+ at : function(index) {
return this.models[index];
},
@@ -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();
},
@@ -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});
@@ -977,7 +977,7 @@
},
// Clears all callbacks previously bound to the view with `delegateEvents`.
- undelegateEvents: function() {
+ undelegateEvents : function() {
$(this.el).unbind('.delegateEvents' + this.cid);
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list