ruby2js 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby2js/filter/functions.rb +1 -1
- data/lib/ruby2js/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: e00c31d4c3008e16e720676fe6170e741e647dbc
|
4
|
+
data.tar.gz: d3882d4c1a946655055af40fc41028f096238101
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da8fb9a021cc0037d31bcc1bb2d83fbb52f686640d0247dda4d030869ae148ad4a271f6c93aa78f2fe2211ea0c82275807897bf86dc1223ae6cb56ea32567b1c
|
7
|
+
data.tar.gz: d843723f447de12fa82ebb5402dd74302a4390ee216b1cf1a711cf78526311672e4f3968db8cf9d54a51a94a1265c816a56c1c2fa27e015b24a239c850c9fbe1
|
@@ -290,7 +290,7 @@ module Ruby2JS
|
|
290
290
|
on_send call.updated nil, [*call.children[0..1], block,
|
291
291
|
*call.children[2..-1]]
|
292
292
|
|
293
|
-
elsif [:sub, :gsub, :sub!, :gsub!].include? call.children[1]
|
293
|
+
elsif [:sub, :gsub, :sub!, :gsub!, :sort!].include? call.children[1]
|
294
294
|
return super if call.children.first == nil
|
295
295
|
block = s(:block, s(:send, nil, :proc), node.children[1],
|
296
296
|
s(:autoreturn, *node.children[2..-1]))
|
data/lib/ruby2js/version.rb
CHANGED