The best jQuery plugin ever.
The best jQuery plugin ever.
[min]: https://raw.github.com/cowboy/foo/master/dist/foo.min.js
[max]: https://raw.github.com/cowboy/foo/master/dist/foo.js
In your web page:
``html`
subdirectory as they are generated via grunt. You'll find source code in the src subdirectory!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.$3
_This assumes you have node.js and npm installed already._1. Test that grunt is installed globally by running
grunt --version at the command-line.
1. If grunt isn't installed globally, run npm install -g grunt to install the latest version. _You may need to run sudo npm install -g grunt._
1. From the root directory of this project, run npm install to install the project's dependencies.$3
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.
* PhantomJS and Mac OS X
* PhantomJS Installation (PhantomJS wiki)
Note that the
phantomjs executable needs to be in the system PATH` for grunt to see it.* How to set the path and environment variables in Windows
* Where does $PATH get set in OS X 10.6 Snow Leopard?
* How do I change the PATH variable in Linux