Skip to content

Commit

Permalink
Merge branch 'master' into dr-dialyzer-more-warnings
Browse files Browse the repository at this point in the history
Conflicts:
	src/mochiweb.erl
  • Loading branch information
David Reid committed Apr 12, 2011
2 parents e535713 + 044e70b commit 738c58a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 84 deletions.
1 change: 0 additions & 1 deletion src/mochiweb.app.src
Expand Up @@ -4,7 +4,6 @@
{vsn, "2.0.0"},
{modules, []},
{registered, []},
{mod, {mochiweb_app, []}},
{env, []},
{applications, [kernel, stdlib, crypto, inets, ssl, xmerl,
compiler, syntax_tools]}]}.
15 changes: 0 additions & 15 deletions src/mochiweb.erl
Expand Up @@ -6,23 +6,10 @@
-module(mochiweb).
-author('bob@mochimedia.com').

-export([start/0, stop/0]).
-export([new_request/1, new_response/1]).
-export([all_loaded/0, all_loaded/1, reload/0]).
-export([ensure_started/1]).

%% @spec start() -> ok
%% @doc Start the MochiWeb server.
start() ->
ensure_started(crypto),
application:start(mochiweb).

%% @spec stop() -> ok
%% @doc Stop the MochiWeb server.
stop() ->
ok = application:stop(mochiweb),
ok = application:stop(crypto).

reload() ->
[c:l(Module) || Module <- all_loaded()].

Expand Down Expand Up @@ -78,7 +65,6 @@ new_response({Request, Code, Headers}) ->
Code,
mochiweb_headers:make(Headers)).


%% @spec ensure_started(App::atom()) -> ok
%% @doc Start the given App if it has not been started already.
ensure_started(App) ->
Expand All @@ -89,7 +75,6 @@ ensure_started(App) ->
ok
end.


%%
%% Tests
%%
Expand Down
27 changes: 0 additions & 27 deletions src/mochiweb_app.erl

This file was deleted.

41 changes: 0 additions & 41 deletions src/mochiweb_sup.erl

This file was deleted.

0 comments on commit 738c58a

Please sign in to comment.