diff --git a/README.md b/README.md index 1e2ef17..618a5e8 100644 --- a/README.md +++ b/README.md @@ -200,9 +200,13 @@ schema.properties.notIn = function(value, badwords) } ``` + +## Browser usage +You can use it in the browser by using [browserify](http://browserify.org/), however if that's too much work just use . There is also an example + + # ideas - - make it work in the browser for client side validation - strict mode, dissallowing extra parameters from being passed in - dependency property making one parameters existance depend on another - more types (phone numbers, credit card, ip address) diff --git a/examples/cdn.html b/examples/cdn.html new file mode 100644 index 0000000..e401e52 --- /dev/null +++ b/examples/cdn.html @@ -0,0 +1,30 @@ + + + + https://wzrd.in - schemajs example + + +

See the console and view the source for details

+ + + + + +