@@ -18,7 +18,7 @@
* along with SingleFile. If not, see <http://www.gnu.org/licenses/>.
*/
-/* global window, requestAnimationFrame, scrollBy, Element, document, dispatchEvent, UIEvent */
+/* global window, requestAnimationFrame, scrollBy, Element, document, dispatchEvent, UIEvent, clearTimeout */
(() => {
@@ -18,6 +18,8 @@
+/* global setTimeout, clearTimeout */
+
this.timeout = this.timeout || (() => {
const TIMEOUT_STEP = 100;