JSLint on Rails available as gem
I released version 1.0 of JSLint on Rails yesterday. It has a few new options (see Github project page for more info), but the biggest change is that it’s now available both as a plugin and as a gem, so it can be used also with Merb and other frameworks which don’t support Rails plugins.
To use JSLint as a gem:
- install the gem (
gem install jslint_on_rails
, or via bundler) - include JSLint’s tasks in your Rakefile:
require 'jslint/tasks'
- also in the Rakefile, set path to your config file:
JSLint.config_path = "config/jslint.yml"
(put it anywhere you want) - create a sample config:
rake jslint:copy_config
After that, you can update your config and run the test as described in the previous post (rake jslint
).
- GitHub project page – http://github.com/mackuba/jslint_on_rails
- Gem page on RubyGems – http://rubygems.org/gems/jslint_on_rails
2 comments:
Flynn Birrell
Similar posts with the data and access of the fields can be discussed on this they have formats to share the access. Patient forms with the services to have https://yourlocallocksmith.co/ with the patient forms to take acceleration of these comments.
Soluta molestiae aut
JS lint rails are available s the gem of the road that is shared in the post of December in year 2009. This is a released kind of the version with the https://www.idriptherapy.com that can make the both gem and the log in as well in the particular aspect ions.