Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More on README.

  • Loading branch information...
commit 7cd6f39eba2bb40b6b39200513ef8d55f0996122 1 parent 80d43f6
@kenn authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -11,13 +11,13 @@ Serving jQuery from a publicly available [CDN](http://en.wikipedia.org/wiki/Cont
On top of that, if you're using asset pipeline, you may have noticed that the major chunks of the code in `application.js` is jQuery. Implications of externalizing jQuery from `application.js` are:
* Updating your js code won't evict the entire cache in browsers - your code changes more often than jQuery upgrades, right?
-* `rake assets:precompile` takes less time and less peak memory usage.
+* `rake assets:precompile` takes less peak memory usage.
-This gem adds the following features:
+## Features
* Supports multiple CDN. (Google, Microsoft and jquery.com)
* jQuery version is automatically detected via jquery-rails.
-* Automatically fallback to jquery-rails' bundled jquery when:
+* Automatically fallback to jquery-rails' bundled jQuery when:
* You're on a development environment, so that you can work offline.
* The CDN is down or unavailable.
@@ -33,7 +33,7 @@ gem 'jquery-rails-cdn'
This gem adds two methods `jquery_include_tag` and `jquery_url` to generate a script tag to the jQuery on a CDN of your preference.
-If you're using asset pipeline with Rails 3.1+, first remove '//= require jquery' from `application.js`.
+If you're using asset pipeline with Rails 3.1+, first remove `//= require jquery` from `application.js`.
Then in layout:
Please sign in to comment.
Something went wrong with that request. Please try again.