mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-08 03:00:26 -04:00
fixing commit note bug.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user