ziduye / nice-validator

Simple, smart and pleasant validation solution.

Home Page:http://validator.niceue.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nice-validator

Build Status License MIT

Simple, smart and pleasant validation solution.

Getting started

#####Download the last release
or installation by package manager via npm

$ npm install nice-validator

width Bower

$ bower install nice-validator

#####Include jQuery 1.7+
#####Include nice-validator to your project width <script> tag

<script src="path/to/nice-validator/jquery.validator.js?local=en"></script>

via Requirejs

requirejs.config({
    paths: {
        validator: 'path/to/nice-validator/local/en'
    }
});

via Sea.js

seajs.config({
    alias: {
        validator: 'path/to/nice-validator/local/zh-CN'
    }
});

Documention

English
简体中文

Browser Support

  • IE6+
  • Chrome
  • Safari 4+
  • Firefox 3.5+
  • Opera

Bugs / Contributions

  • Report a bug
  • To contribute or send an idea, github message me or fork the project

Build

Make sure node.js v0.10+ have installed. Then first run the following command to install dependencies:

$ npm install -g gulp
$ npm install

Run the unit test and build:

$ gulp

License

nice-validator is available under the terms of the MIT License.

About

Simple, smart and pleasant validation solution.

http://validator.niceue.com/


Languages

Language:JavaScript 83.7%Language:CSS 9.3%Language:HTML 4.3%Language:Smarty 2.7%