underscorejs-rb 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Readme.md +33 -0
- data/app/assets/javascripts/underscore.js +2022 -0
- data/app/assets/javascripts/underscore.min.js +6 -0
- data/lib/underscorejs-rb/version.rb +5 -0
- data/lib/underscorejs-rb.rb +11 -0
- metadata +75 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 35fbb59ca343383f0d5036928465ab8d03f2f0ea3935c9e48fd6d254e75c6f41
|
4
|
+
data.tar.gz: e142cc24dd0a919c2c970ca579b5fc43074e08b071fb1f331b8fc21aaad9f0e5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e0afcc0615c7c8ee72ed7af5e048454464ec4d28ed4e33ec805e37992a2030ec8373ef858c077f0f0c1d5ac486e37dbc7515c06b86bd531e8a7663ca66f1997a
|
7
|
+
data.tar.gz: 7907246e7c214ddf5bc19556dd082da140fe4a8596cccb9f49851aef21993ac6f0e5a4f184b18c363f7b284893cb766534f4e175ee69c93d674060263405c800
|
data/Readme.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
underscorejs-rb
|
2
|
+
=================
|
3
|
+
|
4
|
+
A gem to easily integrate [underscorejs](https://underscorejs.org/) with the rails 6.1+ asset pipeline.
|
5
|
+
|
6
|
+
Currently this gem brings support for underscorejs **v0.5.16**.
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
First add the following lines to your applications `Gemfile`:
|
11
|
+
|
12
|
+
``` ruby
|
13
|
+
gem 'underscorejs-rb'
|
14
|
+
```
|
15
|
+
|
16
|
+
Run `bundle install`.
|
17
|
+
|
18
|
+
Add the following lines to `app/assets/javascripts/application.js`:
|
19
|
+
|
20
|
+
``` javascript
|
21
|
+
//= require underscorejs
|
22
|
+
```
|
23
|
+
|
24
|
+
## Usage & documentation
|
25
|
+
|
26
|
+
Please refer to [https://underscorejs.org/](https://underscorejs.org/)
|
27
|
+
for all the details on how to use.
|
28
|
+
|
29
|
+
### Credits
|
30
|
+
|
31
|
+
* underscorejs-rb is (c) Copyright Gajendra Jena
|
32
|
+
* This gem is maintained by [@gajendrajena](https://www.twitter.com/gajendrajena)
|
33
|
+
|