Doc is not up-to-date

1 view
Skip to first unread message

Zed

unread,
Jan 10, 2010, 6:02:14 AM1/10/10
to ewgi
Hi!

Your readme at http://github.com/skarab/ewgi (master) still contains
the following example:

loop(Req) ->
Mod = ewgi_mochiweb:new(fun ?MODULE:simple_app/1),
Mod:run(Req).

While apparently ewgi_mochiweb is not parametrized anymore. This
should be changed
to something like:

loop(Req) ->
Mod = fun ?MODULE:simple_app/1,
ewgi_mochiweb:run(Mod, Req).

Reply all
Reply to author
Forward
0 new messages