不要怂,就是干,撸起袖子干!

Commit 39eb4dff by Mick Hansen

return this from set

1 parent c6bd7b2e
Showing with 3 additions and 1 deletions
......@@ -208,6 +208,8 @@ module.exports = (function() {
}
}
}
return this;
}
DAO.prototype.changed = function(key) {
......@@ -493,7 +495,7 @@ module.exports = (function() {
}
DAO.prototype.setAttributes = function(updates) {
this.set(updates)
return this.set(updates)
}
DAO.prototype.destroy = function(options) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!