From 34b1406db6f31401d612355a3eedd138c0089611 Mon Sep 17 00:00:00 2001 From: eight Date: Wed, 7 Nov 2018 11:19:47 +0800 Subject: [PATCH] Fix: pass linter --- sync/compress-text.js | 4 ++-- sync/cross-browser-functions.js | 1 + sync/import-export-dropbox.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sync/compress-text.js b/sync/compress-text.js index 13c2d6c6..c5f07565 100644 --- a/sync/compress-text.js +++ b/sync/compress-text.js @@ -1,5 +1,5 @@ -/* global messageBox */ -/* global zip */ +/* global zip onDOMready */ +/* exported createZipFileFromText readZipFileFromBlob */ 'use strict'; onDOMready().then(() => { diff --git a/sync/cross-browser-functions.js b/sync/cross-browser-functions.js index e570492a..9dd877e1 100644 --- a/sync/cross-browser-functions.js +++ b/sync/cross-browser-functions.js @@ -1,3 +1,4 @@ +/* exported getRedirectUrlAuthFlow launchWebAuthFlow */ 'use strict'; /** diff --git a/sync/import-export-dropbox.js b/sync/import-export-dropbox.js index e9d2fa9c..e7782568 100644 --- a/sync/import-export-dropbox.js +++ b/sync/import-export-dropbox.js @@ -1,6 +1,6 @@ /* global messageBox Dropbox createZipFileFromText readZipFileFromBlob launchWebAuthFlow getRedirectUrlAuthFlow importFromString resolve - $ $create t chromeLocal API */ + $ $create t chromeLocal API getOwnTab */ 'use strict'; const DROPBOX_API_KEY = 'zg52vphuapvpng9';