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

Commit f7cb6ef4 by Sascha Depold

fix instance method passing

1 parent 28ac7564
Showing with 1 additions and 1 deletions
......@@ -29,7 +29,7 @@ var Model = module.exports = function(values, options) {
})
}
Utils.addEventEmitter(Model)
Utils._.map(Mixin.classMethods, function(fct, name) { Model[name] = fct })
Utils._.extend(Model.prototype, Mixin.prototype)
Model.Events = {
insert: 'InsertQuery',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!