Merge branch 'master' of github.com:jeena/GGS

This commit is contained in:
Kallfaktorn 2011-01-25 16:03:30 +01:00
commit 3ca41bc676
3 changed files with 2 additions and 2 deletions

View file

@ -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

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

Binary file not shown.