Created
May 22, 2015 23:06
-
-
Save dginev/d54667eae82f47e3b798 to your computer and use it in GitHub Desktop.
Logical JS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for el in clickable_things_to_track | |
$( document ).on "click", el, (e) -> | |
mixpanel.track(el) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess the lesson here is to use jquery .each or lodash foreach?