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

Commit a746e985 by overlookmotel

Code tidy

1 parent c55127b2
Showing with 6 additions and 4 deletions
......@@ -9,8 +9,10 @@ var Utils = require('./utils')
, sql = require('sql')
, SqlString = require('./sql-string')
, Transaction = require('./transaction')
, Promise = require("./promise")
, QueryTypes = require('./query-types');
, Promise = require('./promise')
, QueryTypes = require('./query-types')
, Hooks = require('./hooks')
, associationsMixin = require('./associations/mixin');
module.exports = (function() {
/**
......@@ -2008,8 +2010,8 @@ module.exports = (function() {
});
};
Utils._.extend(Model.prototype, require('./associations/mixin'));
Utils._.extend(Model.prototype, require(__dirname + '/hooks'));
Utils._.extend(Model.prototype, associationsMixin);
Utils._.extend(Model.prototype, Hooks);
return Model;
})();
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!