smore-inc/clippy.js — pull request #11 by Zarel (2012-06-14 14:39:10+00:00)
Title: Another bugfix: Balloon sometimes doesn't disappear when it should

Currently, if a balloon is done adding words but hasn't hidden yet, and you drag it somewhere, it stops the hide timer and is supposed to restart it after the drag. It doesn't, because it assumes it's still in the add-words phase.

Balloon#_addWord is now deleted upon completion, so Balloon#resume can use its existence to decide whether or not to resume the hide timer.