jquery/qunit — Issue #167: Wrongly detect Node as not having setTimeout
Author: jdalton
Created: 2011-10-13 23:07:22+00:00
State: open

QUnit wrongly detects `defined.setTimeout` as `false` in node because it does

~~~ js
(function(window) {
// code
})(this);
~~~

instead of

~~~ js
(function(window) {
// code
})(typeof global == 'object' && global || this);
~~~