Permalink
Browse files

Cosmetic

  • Loading branch information...
1 parent 310a3da commit ba565f8a13e094b2af35ecb674fee7dffbce091e @majek majek committed Feb 21, 2012
Showing with 5 additions and 4 deletions.
  1. +2 −2 examples/echo.html
  2. +3 −2 src/sockjs_session_sup.erl
View
4 examples/echo.html
@@ -32,10 +32,10 @@
</head><body lang="en">
<h2>SockJS-erlang Echo example</h2>
<form id="form">
- <input id="input" autocomplete="off" class="box" align=top
+ <input id="input" autocomplete="off" class="box"
value="type something here" />
</form>
- <div id="output" class="box small" />
+ <div id="output" class="box"></div>
<script>
function log(m) {
$('#output').append($("<code>").text(m));
View
5 src/sockjs_session_sup.erl
@@ -5,6 +5,8 @@
-export([start_link/0, start_child/2]).
-export([init/1]).
+%% --------------------------------------------------------------------------
+
-spec start_link() -> ignore | {'ok', pid()} | {'error', any()}.
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
@@ -15,5 +17,4 @@ init([]) ->
transient, 5000, worker, [sockjs_session]}]}}.
start_child(SessionId, Service) ->
- supervisor:start_child(
- ?MODULE, [SessionId, Service]).
+ supervisor:start_child(?MODULE, [SessionId, Service]).

0 comments on commit ba565f8

Please sign in to comment.