Today I made a regular expression to find all addEventListeners that don’t set the useWeakReference to false, this is important because it can save you a lot of references to objects that should have been deleted.
For more information on this topic see the post Grant Skinner wrote about this: gskinner.com
The regular expression:
addEventListener[(a-zA-Z_]*.[a-zA-Z_]*,*[a-zA-Z_]*.;
Like this post? Follow me at @jankeesvw on Twitter