mirror of
https://github.com/rubyjs/therubyrhino
synced 2023-03-27 23:21:34 -04:00
Fixes broken 'Rhino::To javascript translation converts procs and methods into native functions' spec under jruby --1.9
This commit is contained in:
parent
7073412013
commit
fa4d8af47d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module Rhino
|
|||
end
|
||||
|
||||
def call(cxt, scope, this, args)
|
||||
To.javascript @callable.call(*args.map {|a| To.ruby(a)})
|
||||
To.javascript @callable.call(*Array(args).map {|a| To.ruby(a)})
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue