Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce432c1
)
add comments about controll flow
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Nov 2013 22:55:03 +0000
(17:55 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Nov 2013 22:55:03 +0000
(17:55 -0500)
main.coffee
patch
|
blob
|
history
diff --git
a/main.coffee
b/main.coffee
index
c0524a0
..
be83ff2
100644
(file)
--- 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