[Pkg-javascript-commits] [backbone] 123/281: fixing commit note bug.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:03 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 d806f7e1f34e1986a9015e695403ec6dfa353215
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Fri Dec 16 09:59:06 2011 -0500

    fixing commit note bug.
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 9518e38..8438e72 100644
--- a/backbone.js
+++ b/backbone.js
@@ -184,7 +184,7 @@
     // choose to silence it.
     set : function(key, value, options) {
       var attrs;
-      if (_.isObject(key)) {
+      if (_.isObject(key) || key == null) {
         attrs = key;
         options = value;
       } else {

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