dleitee / valid.js

📝 A library for data validation.
MIT License
605 stars 31 forks source link

Testar o browserify no browser #12

Closed dleitee closed 9 years ago

dleitee commented 9 years ago
dleitee commented 9 years ago
;(function(){
      var string = window.validate.string
      var validate = window.validate.validate

      var functions = ['22', string.hasString, string.minLength(0), string.maxLength(2)]
      var result = validate.apply(null, functions);
      console.log(result);
    }())