Permalink
Browse files

Merge branch 'master' of github.com:1602/jugglingdb

  • Loading branch information...
2 parents 1b83266 + aef8adb commit 02138b8965eb6441023c8bc0896001f2bd3af38e @1602 1602 committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/abstract-class.js
@@ -513,7 +513,7 @@ AbstractClass.prototype.destroy = function (cb) {
* @param {Function} callback - callback called with (err, instance)
*/
AbstractClass.prototype.updateAttribute = function updateAttribute(name, value, callback) {
- data = {};
+ var data = {};
data[name] = value;
this.updateAttributes(data, callback);
};

0 comments on commit 02138b8

Please sign in to comment.