소스 검색

added missing globals

Gildas 7 년 전
부모
커밋
8aaa2a8965
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      extension/ui/content/content-ui.js
  2. 1 1
      extension/ui/content/infobar.js

+ 1 - 1
extension/ui/content/content-ui.js

@@ -18,7 +18,7 @@
  *   along with SingleFile.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/* global document, getComputedStyle, addEventListener, removeEventListener, requestAnimationFrame, scrollX, scrollY */
+/* global document, getComputedStyle, addEventListener, removeEventListener, requestAnimationFrame, scrollX, scrollY, setTimeout */
 
 this.singlefile.ui = this.singlefile.ui || (() => {
 

+ 1 - 1
extension/ui/content/infobar.js

@@ -18,7 +18,7 @@
  *   along with SingleFile.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/* global browser, document, Node, window, top, getComputedStyle, location */
+/* global browser, document, Node, window, top, getComputedStyle, location, setTimeout */
 
 this.singlefile.infobar = this.singlefile.infobar || (() => {