Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Jan 19, 2015
1 parent 4d797d5 commit 73f5a54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/epn_basic_examples.erl
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
-compile([export_all]).

publish() ->
epubnub:publish("hello_world", <<"hello">>).
epubnub:publish(<<"hello_world">>, <<"hello">>).

subscribe() ->
epubnub:subscribe("hello_world", fun(X)-> io:format("~p~n", [X]) end).
epubnub:subscribe(<<"hello_world">>, fun(X)-> io:format("~p~n", [X]) end).

history() ->
epubnub:history("hello_world", 10).
epubnub:history(<<"hello_world">>, 10).

time() ->
epubnub:time().

0 comments on commit 73f5a54

Please sign in to comment.