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
(from parent 1:
e05d3ba
)
say when we're waiting for a definition
author
Jason Woofenden
<jason@jasonwoof.com>
Fri, 22 Feb 2013 02:45:41 +0000
(21:45 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Fri, 22 Feb 2013 02:45:41 +0000
(21:45 -0500)
main.coffee
patch
|
blob
|
history
diff --git
a/main.coffee
b/main.coffee
index
b64d1f7
..
1700d10
100644
(file)
--- a/
main.coffee
+++ b/
main.coffee
@@
-524,6
+524,7
@@
extract_wiktionary_definiton = (html) ->
look_up_definition = (word) ->
+ $definition_body.html "Looking up definition for \"#{word}\"."
$.ajax({
url: "http://en.wiktionary.org/w/api.php?action=parse&format=json&page=#{word}"
jsonpCallback: "lud_#{word}" # always use the same callback for the same word so it's cacheable