Pārlūkot izejas kodu

added missing globals

Gildas 7 gadi atpakaļ
vecāks
revīzija
fa76c8d2c8

+ 1 - 1
lib/lazy/web-lazy-loader-after.js

@@ -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 */
 
 (() => {
 

+ 2 - 0
lib/single-file/util/timeout.js

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