[Pkg-javascript-commits] [backbone] 223/281: `added`/`removed` should be `add`/`remove`

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:15 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 b2a2d6fff6033cfae1246af3d83c9ee381067e7c
Author: Brad Dunbar <dunbarb2 at gmail.com>
Date:   Tue Jan 17 21:55:45 2012 -0500

    `added`/`removed` should be `add`/`remove`
---
 backbone.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/backbone.js b/backbone.js
index 4b61859..5be2187 100644
--- a/backbone.js
+++ b/backbone.js
@@ -468,7 +468,7 @@
     },
 
     // Add a model, or list of models to the set. Pass **silent** to avoid
-    // firing the `added` event for every new model.
+    // firing the `add` event for every new model.
     add : function(models, options) {
       var i, index, length;
       options || (options = {});
@@ -500,7 +500,7 @@
     },
 
     // Remove a model, or a list of models from the set. Pass silent to avoid
-    // firing the `removed` event for every model removed.
+    // firing the `remove` event for every model removed.
     remove : function(models, options) {
       var i, index, model;
       options || (options = {});
@@ -561,7 +561,7 @@
 
     // When you have more items than you want to add or remove individually,
     // you can reset the entire set with a new list of models, without firing
-    // any `added` or `removed` events. Fires `reset` when finished.
+    // any `add` or `remove` events. Fires `reset` when finished.
     reset : function(models, options) {
       models  || (models = []);
       options || (options = {});

-- 
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