added status

This commit is contained in:
Jeena Paradies 2011-01-25 15:10:56 +01:00
commit 62c3c3f766
8 changed files with 24 additions and 8 deletions

View file

@ -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)]).