Skip to content

Commit

Permalink
Froze the version of LucidJS required at 2.7.0.
Browse files Browse the repository at this point in the history
Tweaked the number validator to allow null.
Bumped the version number.
  • Loading branch information
ceejbot committed Oct 14, 2013
1 parent 3aa8186 commit 0e1ed38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/polyclay.js
Expand Up @@ -100,7 +100,7 @@ PolyClay.addType(
PolyClay.addType(
{
name: 'number',
validatorFunc: _.isNumber,
validatorFunc: function(item) { return _.isNumber(item) || (item == null); },
defaultFunc: function() { return 0; }
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "polyclay",
"version": "1.6.0",
"version": "1.6.1",
"description": "a schema-enforcing model class for node with optional key-value store persistence",
"author": "C J Silverio <ceejceej@gmail.com>",
"contributors":
Expand Down Expand Up @@ -35,7 +35,7 @@
"dependencies":
{
"lodash": "*",
"lucidjs": "*",
"lucidjs": "~2.7.0",
"p-promise": "*"
},
"devDependencies":
Expand Down

0 comments on commit 0e1ed38

Please sign in to comment.