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:
Sheel Choksi
2013-10-24 11:58:21 -07:00
parent 0c6e590a93
commit a309117758

View File

@@ -68,8 +68,6 @@ getJasmineRequireObj().Clock = function() {
function legacyIE() {
//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;
}