fraywing/textAngular — pull request #263 by mitcht (2014-08-06 19:57:32+00:00)
Title: window.event is null at times. pass the event into the function and acce...

When testing this module out for inclusion in our new site, I found a recurring bug. line 18 window.event is always null, resulting in a multitude of click errors in the console. By passing e in as the function parameter (essentially the click event itself), this alleviates the need to use the window.event as a sort of global.