Craga89/notyfy — pull request #3 by rosenfeld (2013-04-16 20:22:55+00:00)
Title: Fix some memory leaks in NotyfyObject.close()

I'm fixing some memory leaks in my application and some of them result from this plugin. Luckily this one was easy to fix. Now I'm going to investigate the causes for the jQRangeSlider plugin...

Without this patch it is easy to notice that some NotyfyObject's containers are still present under 'body' after close() is called. Only the li was being removed, not its ul container. There were also some other memory leaks which I believe should be all fixed now since the memory stopped growing up after creating and closing notifications...