ssebin / home.html

Full commit
<!DOCTYPE html>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">

  <script src="//"></script>
      function() {
        var source = new EventSource('/events/');
        source.addEventListener('message', function(e) {
  <p>If your browser supports Server-Sent-Events, you should see a counter updating once every
    2 seconds.</p>
  <div id="counter">Sorry, your browser does not support Server Sent Events. :(</div>
  <p>Though neglected by many as Websockets' halfwit cousin, Server Sent Events have a few
     awesome properties:
     <li>Parsing is built right into the browser.
     <li>Reconnects are handled automatically by the browser.
     <li>With the exception of IE, browser support is <a href="">really good</a>.
     <li>They're served over plain old http, so there's no need to open a
       separate port and/or run a separate server.  (At the time of writing
       Heroku apps can't use Websockets, for example, but they can use SSEs
       just fine.) It's highly recommended, however, that you use a server that
       can hold open a lot of simultaneous connections.  <a
         href="">This app</a> uses <a