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

Commit feef42c5 by Mick Hansen

cleanup

1 parent 99443aaa
Showing with 4 additions and 4 deletions
......@@ -82,11 +82,11 @@ module.exports = (function() {
}
})
DAO.prototype.getDataValue = function(name) {
return this.dataValues && this.dataValues.hasOwnProperty(name) ? this.dataValues[name] : this[name]
DAO.prototype.getDataValue = function(key) {
return this.dataValues[key]
}
DAO.prototype.setDataValue = function(name, value) {
this.dataValues[name] = value
DAO.prototype.setDataValue = function(key, value) {
this.dataValues[key] = value
}
DAO.prototype.get = function (key) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!