From fcffbb0075df91b4b460e184a6324a26b367762b Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Tue, 26 Nov 2013 17:55:03 -0500 Subject: [PATCH] add comments about controll flow --- main.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.coffee b/main.coffee index c0524a0..be83ff2 100644 --- a/main.coffee +++ b/main.coffee @@ -599,10 +599,12 @@ score_for = (word) -> Math.round(Math.pow(1.7, word.length)) activate_selection = -> word = selected_word() if word.length < 3 + # should only happen when trying to blip a word with the keyboard # FIXME make this a hint log "Too short: \"#{word}\"" return unless is_word word + # should only happen when trying to blip a word with the keyboard # FIXME make this automatically part of the selection display log "Not on word list: \"#{word}\"" return -- 1.7.10.4