Skip to content

Commit

Permalink
Update reserved keywords for #1351
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Dec 15, 2014
1 parent f299d9f commit 8bd2b2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/schema.js
Expand Up @@ -284,6 +284,7 @@ Schema.prototype.add = function add (obj, prefix) {
Schema.reserved = Object.create(null);
var reserved = Schema.reserved;
reserved.on =
reserved.once =
reserved.db =
reserved.set =
reserved.get =
Expand All @@ -295,9 +296,7 @@ reserved.options =
reserved.modelName =
reserved.collection =
reserved.toObject =
reserved.domain =
reserved.emit = // EventEmitter
reserved._events = // EventEmitter
reserved._pres = reserved._posts = 1 // hooks.js

/**
Expand Down

0 comments on commit 8bd2b2e

Please sign in to comment.