The best jQuery plugin ever.
In your web page:
Copyright (c) 2012 "Cowboy" Ben Alman
Licensed under the MIT, GPL-2.0 licenses.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Please don't edit files in the
dist subdirectory as they are generated via grunt. You'll find source code in the
While grunt can run the included unit tests via PhantomJS, this shouldn't be considered a substitute for the real thing. Please be sure to test the
test/*.html unit test file(s) in actual browsers.
grunt --versionat the command-line.
npm install -g gruntto install the latest version. You may need to run
sudo npm install -g grunt.
npm installto install the project's dependencies.
In order for the qunit task to work properly, PhantomJS must be installed and in the system PATH (if you can run "phantomjs" at the command line, this task should work).
Unfortunately, PhantomJS cannot be installed automatically via npm or grunt, so you need to install it yourself. There are a number of ways to install PhantomJS.
Note that the
phantomjs executable needs to be in the system
PATH for grunt to see it.