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

Commit 416c483b by sdepold

removed unused reference

1 parent 0926dca1
Showing with 0 additions and 5 deletions
...@@ -174,7 +174,6 @@ module.exports = (function() { ...@@ -174,7 +174,6 @@ module.exports = (function() {
return this.build(values).save() return this.build(values).save()
} }
ModelFactory.prototype.__defineGetter__('primaryKeys', function() { ModelFactory.prototype.__defineGetter__('primaryKeys', function() {
var result = {} var result = {}
Utils._.each(this.attributes, function(dataTypeString, attributeName) { Utils._.each(this.attributes, function(dataTypeString, attributeName) {
......
...@@ -29,10 +29,6 @@ module.exports = (function() { ...@@ -29,10 +29,6 @@ module.exports = (function() {
get: function(){ return this.sequelize.getQueryInterface() } get: function(){ return this.sequelize.getQueryInterface() }
}) })
Object.defineProperty(Model.prototype, 'QueryGenerator', {
get: function(){ return this.QueryInterface.QueryGenerator }
})
Object.defineProperty(Model.prototype, 'isDeleted', { Object.defineProperty(Model.prototype, 'isDeleted', {
get: function() { get: function() {
var result = this.__options.timestamps && this.__options.paranoid var result = this.__options.timestamps && this.__options.paranoid
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!