doctype 5
html(lang='en')
  head
    meta(charset='utf-8')
    title= title
    //link(rel='stylesheet', href='/stylesheets/style.css')
    script(src='/socket.io/socket.io.js')
    script(src='/js/tinyDOM.min.js')
    script
      var socket = io.connect();

      socket.on('users', function (data) {
        $.id('current_users').innerHTML = data.count;
      });

      socket.on('tweet', function (data) {
        var item = document.createElement('li');
        item.innerHTML = 'User: ' + data.user.name + ', Date: ' + data.created_at + ', Tweet: ' + data.text;
        var list = $.id('tweets');
        list.insertBefore(item, list.firstChild);
      });
  body
    h1= title
    div.
      Currently connected users: <span id='current_users'>0</span>
    div
      ul#tweets

doctype 5
html(lang='en')
  head
    meta(charset='utf-8')
    title= title
    //link(rel='stylesheet', href='/stylesheets/style.css')
    script(src='/socket.io/socket.io.js')
    script(src='/js/tinyDOM.min.js')
    script
      var socket = io.connect();

      socket.on('users', function (data) {
        $.id('current_users').innerHTML = data.count;
      });

      socket.on('tweet', function (data) {
        var item = document.createElement('li');
        item.innerHTML = 'User: ' + data.user.name + '<br />Date: ' + data.created_at + '<br />Tweet: ' + data.text;
        var list = $.id('tweets');
        list.insertBefore(item, list.firstChild);
      });
  body
    h1= title
    div.
      Currently connected users: <span id='current_users'>0</span>
    div
      ul#tweets

Make tweets slightly easier to read for now
Make tweets slightly easier to read for now
