README.md in easyxdm-rails-0.0.3 vs README.md in easyxdm-rails-0.0.4
- old
+ new
@@ -17,33 +17,33 @@
bundle install
Then you can add this to one of your js manifest files (like
app/assets/javascripts/application.js)
- //= require easyxdm-rails/easyXDM
+ //= require easyXDM
Or if you're still in development mode, you may want to do this:
- //= require easyxdm-rails/easyXDM.debug
+ //= require easyXDM.debug
Since you're using easyXDM, there's a good chance that you need to be
able to serve easyXDM.js by itself, or in conjuction with your other
scripts.
To serve it by itself you could add this to
config/environments/production.rb
- config.assets.precompile += %w( easyxdm-rails/easyXDM.js )
+ config.assets.precompile += %w( easyXDM.js )
Then you could refer to :
- http://your-host/assets/easyxdm-rails/easyXDM.js
+ http://your-host/assets/easyXDM.js
Or you could create a new manifest, bookmarklet.js for example, in
app/assets/javascripts and include both easyXDM.js and your code.
- //= require easyxdm-rails/easyXDM
+ //= require easyXDM
//= require your-bookmarklet-code.js
Then you could get both easyXDM and your code by refering to:
http://your-host/assets/bookmarklet.js
@@ -64,10 +64,11 @@
http://easyxdm-rails-example.herokuapp.com/assets/application.js
And you can see it delivered by itself here:
-http://easyxdm-rails-example.herokuapp.com/assets/easyxdm-rails/easyXDM.js
+http://easyxdm-rails-example.herokuapp.com/assets/easyXDM.js
+
This project rocks and uses MIT-LICENSE.