Skip to content

Commit

Permalink
1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Sep 8, 2014
1 parent b2dfb8b commit 248a1f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{lib_dirs,[".."]}.
{deps_dir,["deps"]}.
{deps,[]}.
{deps,[
{cowboy, ".*", {git, "git://github.com/extend/cowboy", {tag,"0.9.0"}}},
{gproc, ".*", {git, "git://github.com/uwiger/gproc.git", {tag,"0.3"}}},
{erlydtl, ".*", {git, "git://github.com/evanmiller/erlydtl.git", {tag,"0.8.0"}}}
]}.
4 changes: 3 additions & 1 deletion samples/apps/n2o_sample/src/index.erl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ event(Event) -> wf:info(?MODULE,"Event: ~p", [Event]).
chat_loop() ->
receive
{message, Username, Message} ->
Terms = #panel { body= [ Username,": ",Message,#br{}, #button{postback=logout} ] },
Terms = #panel { body=
[ Username,": ",Message, #br{}, #button{postback=logout} ] }
,
wf:insert_bottom(history, Terms),
wf:wire("document.querySelector('#history').scrollTop = document.querySelector('#history').scrollHeight;"),
wf:flush(room);
Expand Down
2 changes: 1 addition & 1 deletion src/wf.erl
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@ config(Key) -> config(n2o, Key, "").
config(App, Key) -> config(App,Key, "").
config(App, Key, Default) -> wf_utils:config(App, Key, Default).

version() -> "1.7.0".
version() -> "1.9.0".

0 comments on commit 248a1f9

Please sign in to comment.