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

This commit is contained in:
Anatoliy Chakkaev 2012-04-19 03:21:14 +04:00
commit 02138b8965
1 changed files with 1 additions and 1 deletions

View File

@ -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);
};