huei90/snap.svg.zpd — pull request #5 by tikiatua (2014-09-08 15:17:41+00:00)
Title: Fixed the memory leak

Hi @huei90

After almost a complete days work and learning a freaking lot about memory profiling and javascript memory leak pattern, I managed to fix the issue.

The solution is actually quite simple:
_Event handlers that contain a reference to the object should not be directly attached to a dom-object. Using **addEventListener** resolves the problem nicely_