Merge branch 'master' of github.com:jeena/GGS
This commit is contained in:
commit
3ca41bc676
3 changed files with 2 additions and 2 deletions
|
@ -15,4 +15,4 @@ while true
|
|||
line = s.gets # Read lines from the socket
|
||||
puts "Got Echo: " + line.chop # And print with platform line terminator
|
||||
end
|
||||
s.close # Close the socket when done
|
||||
s.close # Close the socket when done
|
||||
|
|
|
@ -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)]).
|
||||
|
|
Binary file not shown.
Reference in a new issue