why attach to window
Posted
by Gutzofter
on Stack Overflow
See other posts from Stack Overflow
or by Gutzofter
Published on 2010-03-24T02:10:20Z
Indexed on
2010/03/24
2:13 UTC
Read the original article
Hit count: 431
I was looking over the code for qunit.
My question is why would you want to attach the qunit object via property to window object.
Here is the link to the file. Look at line 11.
If I look at a unit test run using firebug you can see it is a property of window.
© Stack Overflow or respective owner