lib/opal/nodes/call_special.rb in opal-1.8.2 vs lib/opal/nodes/call_special.rb in opal-1.8.3.rc1
- old
+ new
@@ -35,10 +35,10 @@
super
# For .JS. call we pass a block
# as a plain JS callback
if @iter
- @arglist = @arglist << @iter
+ @arglist <<= @iter
end
@iter = nil
end
def compile