lucaong/jQCloud — pull request #43 by lightswitch05 (2013-11-14 01:57:34+00:00)
Title: Added a destroy method.

I needed a way to stop a word cloud mid-render. In order to accomplish this, it has to keep track of the timeout IDs. Even more, the jQCloud object needed to persistant.

Destroy method keeps tracks of all unfired timeouts and clears them. It also clears any words in the word cloud and their attached event listeners. Finally it removes the jqcloud class.