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

laril/Parsley.js

 
 

Repository files navigation

#Parsley.js

Build Status

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

#TODOs

See TODO.md

#Version

1.0.0

Browser compatibility

No idea yet..

#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:

./bin/build.sh version where version is the build release. eg: ./bin/build.sh 1.1.2

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

#Contribute!

  • 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)
  • 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