README.md in jquery-rails-cdn-yjchen-0.3.3 vs README.md in jquery-rails-cdn-yjchen-0.3.4
- old
+ new
@@ -111,10 +111,12 @@
Set :compressed to use minimized library locally like this:
= jquery_include_tag :default, :compressed => true
-Remember to change the assets name in confign/environments/production.rb:
+Set :local_copy true to use local copy when CDN is not available.
+
+Remember to add assets name in confign/environments/production.rb:
config.assets.precompile += %w( jquery.min.js)
## Clarification
[jquery-rails-cdn](https://github.com/kenn/jquery-rails-cdn) supports jQuery from jquery-rails gem, but [not jQuery UI](https://github.com/kenn/jquery-rails-cdn/issues/11) in the same gem. [jquery-ui-rails-cdn](https://github.com/styx/jquery-ui-rails-cdn) supports jQuery UI from jquery-ui-rails gem. This one supports both jQuery and jQuery UI from jquery-rails gem.