tmort / Socialite

Other
1.68k stars 163 forks source link

t is accidentally leaked as a global variable #42

Closed dylang closed 9 years ago

dylang commented 11 years ago
window.twttr = (t = { _e: [], ready: function(f) { t._e.push(f); } });

t is never declared and therefore becomes a global variable.

dylang commented 9 years ago

i no longer use this.

EugeneHerasymchuk commented 7 years ago

you can put var t before if statement