jQCloud
jQCloud copied to clipboard
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.