Originally Posted by felgall
is defined also.
often some jerk/library decides to use "$", and then adds jQuery to the site. using window.jQuery ensures that you don't mis-apply the unexpected $ var as though it were jQuery.
i like to use self
instead of window
to hit globals so that the code can run in WebWorker threads if needed and it's less to type.
BROWSER STATS [% share]
(2013/12/12) IE7:0.3, IE8:7.5, IE11:4.3, IE9:4.6, IE10:7.8, FF:18, CH:43, SF:5.5, MOBILE:21.5
Last edited by rnd me; 01-30-2013 at 11:31 PM..