$('#' + t).removeClass('tab').addClass('selected-tab').animate({height: tab_height}, 1000)
cur_tab = t
init_tabs = ->
- for t in ['instructions', 'definition', 'logtab', 'restart']
+ for t in ['instructions', 'definition', 'donate', 'restart']
init_tab t
init_keybinding = ->
init_log = ->
$log = $('#log')
log = (msg) ->
- $log.children().last().remove()
- $log.prepend $('<div></div>').html msg
+ console.log msg if console.log?
init_game = ->
init_log()