Skip to content

Commit

Permalink
ocd
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Apr 25, 2013
1 parent 0a2df32 commit d9f8db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model.js
Expand Up @@ -1810,7 +1810,7 @@ Model.__subclass = function subclass (conn, schema, collection) {
Model.prototype.__proto__ = model.prototype;
Model.db = Model.prototype.db = conn;

var s = ('string' != typeof schema && !!schema)
var s = schema && 'string' != typeof schema
? schema
: model.prototype.schema;

Expand Down

0 comments on commit d9f8db9

Please sign in to comment.