Skip to content
Browse files

Fixing missing wrap().

  • Loading branch information...
1 parent 8471573 commit d696237f305974ad9498999517f382e454b6abe9 @molnarg committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/extensions/Boolean.js
View
2 lib/extensions/Boolean.js
@@ -14,7 +14,7 @@ var BooleanSchema = new Schema.extend({
}
})
-var booleanSchema = module.exports = new BooleanSchema()
+var booleanSchema = module.exports = new BooleanSchema().wrap()
Schema.fromJSON.def(function(sch) {
if (!sch || sch.type !== 'boolean') return

0 comments on commit d696237

Please sign in to comment.
Something went wrong with that request. Please try again.