fixing commit note bug.

This commit is contained in:
Jeremy Ashkenas
2011-12-16 09:59:06 -05:00
parent a50b71434b
commit d806f7e1f3

View File

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