added status
This commit is contained in:
commit
62c3c3f766
8 changed files with 24 additions and 8 deletions
|
@ -8,4 +8,4 @@ boot() ->
|
|||
|
||||
executeJS(Port, Data) ->
|
||||
ok = js:define(Port, <<"function helloworld(name){return 'Hello, ' + name}">>),
|
||||
js:call(Port, <<"helloworld">>, [Data]).
|
||||
js:call(Port, <<"helloworld">>, [list_to_binary(Data)]).
|
||||
|
|
Reference in a new issue