Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace log tab with donate tab
[hexbog.git]
/
main.coffee
diff --git
a/main.coffee
b/main.coffee
index
0f11b9e
..
b8ad32c
100644
(file)
--- a/
main.coffee
+++ b/
main.coffee
@@
-574,7
+574,7
@@
init_tab = (t) ->
$('#' + t).removeClass('tab').addClass('selected-tab').animate({height: tab_height}, 1000)
cur_tab = t
init_tabs = ->
$('#' + 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_tab t
init_keybinding = ->
@@
-589,8
+589,7
@@
$log = undefined
init_log = ->
$log = $('#log')
log = (msg) ->
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()
init_game = ->
init_log()