Skip to content

Commit

Permalink
Fixed syntax error in Model
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Dec 11, 2013
1 parent 5a8aa97 commit a96d2a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Model.js
Expand Up @@ -43,13 +43,13 @@ function Model(database, collection, schema, options) {

Object.defineProperty(this, 'collection', {
get: function () { return database.db.collection(collection); },
set: function(value) { collection = value; }
set: function(value) { collection = value; },
enumerable: false
});

Object.defineProperty(this, 'database', {
get: function() { return database; },
set: function(value) { database = value; }
set: function(value) { database = value; },
enumerable: false
});

Expand Down

0 comments on commit a96d2a0

Please sign in to comment.