Fix ui.coffee debug mode message log

This commit is contained in:
Serene Han 2016-02-06 17:28:23 -08:00
parent 889b3fee98
commit e0081ea954
3 changed files with 10 additions and 9 deletions

View file

@ -192,7 +192,7 @@ log = (msg) ->
console.log 'Snowflake: ' + msg
ui.log msg
dbg = (msg) -> log msg if ui.debug
dbg = (msg) -> log msg if true == ui.debug
init = ->
ui = new UI()