material_raingular 0.0.4.1 → 0.0.4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/extensions.coffee +4 -1
- data/lib/material_raingular/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a9319a1f8b4523c0d0a53b068a0db403424fdeb
|
4
|
+
data.tar.gz: cd9287474c8dddb438bf2e573a4ff72a1c7a7406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa0706acbc9416078a378071b96bb5c4bfaecab5d2399d43630e613c0def3dda9608f3604ba5655dc1e7592fbee6761ef6957032d74b05aabc54503c1bc623ed
|
7
|
+
data.tar.gz: 42901bb6b8101a2c7e3a55841ee6d3102c55773fae383f94a9b7658ae2472e3fa2004c7b7a0ac02f26fd7a6369bd104fa9863f003c93304032b29ce367680a67
|
@@ -12,7 +12,10 @@ Array.prototype.railsMap = (func)->
|
|
12
12
|
arr = []
|
13
13
|
for obj in this
|
14
14
|
eval args[1] + '= obj'
|
15
|
-
|
15
|
+
if args[2].includes(':')
|
16
|
+
arr.push eval "(" + args[2] + ")"
|
17
|
+
else
|
18
|
+
arr.push eval args[2]
|
16
19
|
arr
|
17
20
|
Array.prototype.compact = ->
|
18
21
|
arr = []
|