Skip to content

Validate your forms, frontend, without writting a single line of javascript!

License

Notifications You must be signed in to change notification settings

travist6983/Parsley.js

This branch is 1329 commits behind guillaumepotier/Parsley.js:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 21, 2013
Mar 27, 2013
Apr 2, 2013
Mar 27, 2013
Dec 31, 2012
Jan 29, 2013
Dec 16, 2012
Mar 28, 2013
Jan 22, 2013
Mar 21, 2013
Mar 11, 2013
Mar 26, 2013
Mar 29, 2013
Mar 21, 2013
Mar 6, 2013
Mar 26, 2013
Mar 27, 2013

Repository files navigation

#Parsley.js

Build Status

Javascript form validation, without actually writing a single line of javascript!

#TODOs

See TODO.md

#Curent Stable Version

1.1.14

Browser compatibility

IE 8+, FF 14+, Chrome

#Install dependencies for documentation and tests

bower install jquery bower install bootstrap

#Run tests

  • In your browser: go to tests/index.html
  • Headless tests: install mocha-phantomjs with npm: npm install -g mocha-phantomjs and then run ./bin/test-suite.sh

#Make production minified versions

You'll need ruby, and Google Closure compiler: gem install closure-compiler. Then, just call:

  • Linux/Mac: ./bin/build.sh version where version is the build release. eg: ./bin/build.sh 1.1.2
  • Windows: ./bin/build.ps1 version where version is the build release. eg: ./bin/build.ps1 1.1.2

They'll be created and dumped in the dist/ directory

#Contribute!

##Validators

Add new validators in parsley.extend.js and minify it. No validators will be allowed directly into parsley.js (but great validators could move from extra to parsley ;))

##Localization

If file does not exist, create it into ì18n/ directory with same syntax as others.
Reference file is _messages.en.fr

##Integrations

Create integration with other framework as a separate Github repo and send a pull request for including here.
Some integrations are

Global

  • fork repository
  • add your changes to parsley.js
  • add / update tests to test suite (tests/index.html / tests/tests.js)
  • run tests (see above)
  • create new minified versions with minify script (see above) (use next tag-dev as version. Ie: if 1.1.1, use 1.1.2-dev)
  • make a Pull Request!

#Licence

See LICENCE.md

About

Validate your forms, frontend, without writting a single line of javascript!

Resources

License

Stars

Watchers

Forks

Packages

No packages published