diff --git a/README.md b/README.md index 25b9e31..f849e3f 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ - Good test coverage. +# TODO + +- test? valid? check? Could these names be more generic? + ### Declarative var inRange = Valid.number().min(4).max(9) diff --git a/lib/valid-engine.js b/lib/valid-engine.js index 2c10781..9183627 100644 --- a/lib/valid-engine.js +++ b/lib/valid-engine.js @@ -41,6 +41,7 @@ Valid.SimpleTest = function SimpleTest(fn) { }; }; +// Run all the tests in the given queue Valid.ValidateQueue = function ValidateQueue(queue, value) { if(!queue || queue.length < 1) return "no tests!"; for(var i=0; i