mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +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(_)) =>
|
case Arg(argName, OptionType(_)) =>
|
||||||
s"""h.on('$dataServiceId', '$argName', () => {return $argName === null ? [] : [$argName];});"""
|
s"""h.on('$dataServiceId', '$argName', () => {return $argName === null ? [] : [$argName];});"""
|
||||||
case Arg(argName, _: DataType) =>
|
case Arg(argName, _: DataType) =>
|
||||||
s"""h.on('$dataServiceId, '$argName', () => {return $argName;});"""
|
s"""h.on('$dataServiceId', '$argName', () => {return $argName;});"""
|
||||||
case Arg(argName, at: ArrowType) =>
|
case Arg(argName, at: ArrowType) =>
|
||||||
val value = s"$argName(${argsCallToJs(
|
val value = s"$argName(${argsCallToJs(
|
||||||
at
|
at
|
||||||
|
Loading…
Reference in New Issue
Block a user