www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 6a05e5c04ba785b54d8047b29c577460cce87508
parent 608da632f30360fa3b2f807d9de0d2f523109262
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 11 Mar 2015 12:05:13 -0400

We no longer support Fx <24

Diffstat:
Mresource/q.js | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/resource/q.js b/resource/q.js @@ -66,12 +66,9 @@ var _runningTimers = []; return function setTimeout(func, ms) { - var useMethodjit = Components.utils.methodjit, - timer = Components.classes["@mozilla.org/timer;1"]. + var timer = Components.classes["@mozilla.org/timer;1"]. createInstance(Components.interfaces.nsITimer); timer.initWithCallback({"notify":function() { - // XXX Remove when we drop support for Fx <24 - if(useMethodjit !== undefined) Components.utils.methodjit = useMethodjit; // Remove timer from array so it can be garbage collected _runningTimers.splice(_runningTimers.indexOf(timer), 1);