From: Jason Woofenden Date: Fri, 22 Feb 2013 02:45:41 +0000 (-0500) Subject: say when we're waiting for a definition X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=commitdiff_plain;h=b11d844c8209610964e6c436475665237195591d say when we're waiting for a definition --- diff --git a/main.coffee b/main.coffee index b64d1f7..1700d10 100644 --- 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