Remove TODO: should be easier to load polyfill for timeout functions as Jasmine does not get references to these functions until boot.js is loaded
This commit is contained in:
@@ -68,8 +68,6 @@ getJasmineRequireObj().Clock = function() {
|
|||||||
|
|
||||||
function legacyIE() {
|
function legacyIE() {
|
||||||
//if these methods are polyfilled, apply will be present
|
//if these methods are polyfilled, apply will be present
|
||||||
//TODO: it may be difficult to load the polyfill before jasmine loads
|
|
||||||
//(env should be new-ed inside of onload)
|
|
||||||
return !(realTimingFunctions.setTimeout || realTimingFunctions.setInterval).apply;
|
return !(realTimingFunctions.setTimeout || realTimingFunctions.setInterval).apply;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user