rails_cropit 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +19 -1
- data/app/assets/javascripts/jquery.cropit.js +1188 -0
- data/app/assets/stylesheets/cropit.css +30 -0
- data/lib/rails_cropit/version.rb +1 -1
- data/rails_cropit.gemspec +1 -2
- metadata +9 -11
- data/vendor/assets/javascripts/jquery.cropit.js +0 -637
- data/vendor/assets/javascripts/jquery.cropit.min.js +0 -10
- data/vendor/assets/stylesheets/cropit.coffee +0 -415
- data/vendor/assets/stylesheets/plugin.coffee +0 -83
- data/vendor/assets/stylesheets/zoomer.coffee +0 -31
data/README.md
CHANGED
@@ -18,7 +18,25 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Include cropit javascript assets
|
22
|
+
|
23
|
+
Add the following to your app/assets/javascripts/application.js:
|
24
|
+
|
25
|
+
//= require jquery.cropit
|
26
|
+
|
27
|
+
|
28
|
+
Include cropit stylesheet assets
|
29
|
+
|
30
|
+
Add the following to your app/assets/javascripts/application.css:
|
31
|
+
|
32
|
+
# require "cropit"
|
33
|
+
|
34
|
+
or
|
35
|
+
|
36
|
+
Add the following to your app/assets/javascripts/application.css.scss:
|
37
|
+
|
38
|
+
@import "cropit";
|
39
|
+
|
22
40
|
|
23
41
|
## Development
|
24
42
|
|