JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
add comments about controll flow
[hexbog.git] / main.coffee
index c0524a0..be83ff2 100644 (file)
@@ -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