mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 14:40:17 +00:00
JS Backend: add the missing single quote (') (#252)
This commit is contained in:
parent
3de8571be9
commit
2124b88442
@ -55,7 +55,7 @@ case class JavaScriptFunc(func: FuncRes) {
|
||||
case Arg(argName, OptionType(_)) =>
|
||||
s"""h.on('$dataServiceId', '$argName', () => {return $argName === null ? [] : [$argName];});"""
|
||||
case Arg(argName, _: DataType) =>
|
||||
s"""h.on('$dataServiceId, '$argName', () => {return $argName;});"""
|
||||
s"""h.on('$dataServiceId', '$argName', () => {return $argName;});"""
|
||||
case Arg(argName, at: ArrowType) =>
|
||||
val value = s"$argName(${argsCallToJs(
|
||||
at
|
||||
|
Loading…
Reference in New Issue
Block a user