mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
properties -> identifier
This commit is contained in:
parent
a5b3299ba7
commit
f81527231e
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ module ExecJS
|
|||
end
|
||||
end
|
||||
|
||||
def call(properties, *args)
|
||||
eval "#{properties}.apply(this, #{args.to_json})"
|
||||
def call(identifier, *args)
|
||||
eval "#{identifier}.apply(this, #{args.to_json})"
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in a new issue