needim/noty — pull request #129 by kubelsmieci (2013-04-10 14:25:27+00:00)
Title: Dont allow second close() when already in closing.

There is time window when close() will be called on already closing noty.
1. create noty with timeout
1.1. show() is called, and delay().promise() is started
2. manually call close() on this noty
2.1. 'i-am-closing-now' is added
2.2. in close(), stop().animate() is started()
**1.2. delayed timeout promise is done() and is calling second close()**
2.3. stop animation is done() and sets self.closed = true