Gildas 7 лет назад
Родитель
Сommit
fa76c8d2c8
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 1
      lib/lazy/web-lazy-loader-after.js
  2. 2 0
      lib/single-file/util/timeout.js

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

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