hooch 0.15.12 → 0.15.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/hooch.js +3 -3
- data/lib/hooch/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: 764e11b35462cb416dde47f9d13a2d0401a0ccf6
|
4
|
+
data.tar.gz: ee08b8b188452e17a14b58fc566f09bc8cd5dfc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: befbc4b2c9aa65935635dac44be7c0bd483c7d7697cd5c782c4c69adfbfa95b4c8a984ddc21949553eca06c91dcb882d88d7d9ede750171d6ada406bba63de99
|
7
|
+
data.tar.gz: ebbfad9291019a57be76e9f06979681eb3b7aaabe194c20596147ce9f742c352bbc4a5fcd35591c9ae9a983dfcf36fc3f51e86de72a0723a78ef18488d7e8b54
|
@@ -35,14 +35,14 @@ Set.prototype.difference = function(setB) {
|
|
35
35
|
})
|
36
36
|
return difference;
|
37
37
|
}
|
38
|
-
Set.
|
38
|
+
Set.from_iterable = function(arr) {
|
39
39
|
if(typeof Set.prototype.values == 'undefined'){
|
40
|
-
var new_set = Set
|
40
|
+
var new_set = new Set()
|
41
41
|
arr.forEach(function(v,i,t){
|
42
42
|
new_set.add(v)
|
43
43
|
})
|
44
44
|
}else{
|
45
|
-
var new_set = Set
|
45
|
+
var new_set = new Set(arr)
|
46
46
|
}
|
47
47
|
return new_set
|
48
48
|
}
|
data/lib/hooch/version.rb
CHANGED