Constraint library for JavaScript
For documentation or the full ConstraintJS API, visit cjs.from.so/.
If you'd rather build from this repository, you must install node.js and Grunt. Then, from inside the constraintjs source directory, run:
npm install . grunt
The CJS Library will appear in the build/ directory.
Make changes to the files in src/ instead of build/. After you change a file, be sure to run
gruntto re-build the files in build/. By default, the sourcemap generated for build/cjs.min.js links to the build/cjs.js file. To build a sourcemap that links back to the original src/ files (significantly more useful for development), change
gruntin the instructions above to
grunt dev:
npm install . grunt dev