easyxdm-rails 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -6
- data/lib/easyxdm-rails/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -19,11 +19,11 @@ Then, of course, you need to run:
|
|
19
19
|
Then you can add this to one of your js manifest files (like
|
20
20
|
app/assets/javascripts/application.js)
|
21
21
|
|
22
|
-
//= require
|
22
|
+
//= require easyXDM
|
23
23
|
|
24
24
|
Or if you're still in development mode, you may want to do this:
|
25
25
|
|
26
|
-
//= require
|
26
|
+
//= require easyXDM.debug
|
27
27
|
|
28
28
|
Since you're using easyXDM, there's a good chance that you need to be
|
29
29
|
able to serve easyXDM.js by itself, or in conjuction with your other
|
@@ -32,16 +32,16 @@ scripts.
|
|
32
32
|
To serve it by itself you could add this to
|
33
33
|
config/environments/production.rb
|
34
34
|
|
35
|
-
config.assets.precompile += %w(
|
35
|
+
config.assets.precompile += %w( easyXDM.js )
|
36
36
|
|
37
37
|
Then you could refer to :
|
38
38
|
|
39
|
-
http://your-host/assets/
|
39
|
+
http://your-host/assets/easyXDM.js
|
40
40
|
|
41
41
|
Or you could create a new manifest, bookmarklet.js for example, in
|
42
42
|
app/assets/javascripts and include both easyXDM.js and your code.
|
43
43
|
|
44
|
-
//= require
|
44
|
+
//= require easyXDM
|
45
45
|
//= require your-bookmarklet-code.js
|
46
46
|
|
47
47
|
Then you could get both easyXDM and your code by refering to:
|
@@ -66,7 +66,8 @@ http://easyxdm-rails-example.herokuapp.com/assets/application.js
|
|
66
66
|
|
67
67
|
And you can see it delivered by itself here:
|
68
68
|
|
69
|
-
http://easyxdm-rails-example.herokuapp.com/assets/
|
69
|
+
http://easyxdm-rails-example.herokuapp.com/assets/easyXDM.js
|
70
|
+
|
70
71
|
|
71
72
|
|
72
73
|
This project rocks and uses MIT-LICENSE.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easyxdm-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
segments:
|
122
122
|
- 0
|
123
|
-
hash:
|
123
|
+
hash: 1113510086132534461
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
none: false
|
126
126
|
requirements:
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
segments:
|
131
131
|
- 0
|
132
|
-
hash:
|
132
|
+
hash: 1113510086132534461
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
135
|
rubygems_version: 1.8.24
|