morrisjs-rails 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +39 -0
- data/lib/morrisjs-rails/version.rb +5 -0
- data/lib/morrisjs-rails.rb +8 -0
- data/vendor/assets/javascripts/morris.js +1380 -0
- metadata +66 -0
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# morrisjs-rails
|
2
|
+
|
3
|
+
morris.js for the Rails Asset Pipeline
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'morrisjs-rails'
|
10
|
+
gem 'raphael-rails'
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle
|
15
|
+
|
16
|
+
Or install it yourself as:
|
17
|
+
|
18
|
+
$ gem install morrisjs-rails
|
19
|
+
$ gem install raphael-rails
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
Add the following directive to your Javascript manifest file (application.js):
|
24
|
+
|
25
|
+
//= require raphael
|
26
|
+
//= require morris
|
27
|
+
|
28
|
+
## Versioning
|
29
|
+
|
30
|
+
The naming schema is identical to morris.js.
|
31
|
+
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
1. Fork it
|
36
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
38
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
39
|
+
5. Create new Pull Request
|