lib/opal/nodes/call_special.rb in opal-0.11.4 vs lib/opal/nodes/call_special.rb in opal-1.0.0.beta1

- old
+ new

@@ -1,6 +1,7 @@ # frozen_string_literal: true + require 'opal/nodes/base' require 'opal/nodes/call' module Opal module Nodes @@ -48,15 +49,15 @@ def method_jsid ".#{meth}" end def compile_using_send - push recv(receiver_sexp), method_jsid, ".apply(null" + push recv(receiver_sexp), method_jsid, '.apply(null' compile_arguments if iter - push ".concat(", expr(iter), ")" + push '.concat(', expr(iter), ')' end - push ")" + push ')' end end # /regexp/ =~ rhs # s(:match_with_lvasgn, lhs, rhs)