1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-04 08:34:55 +02:00

eslint fixes.

This commit is contained in:
Kushagra Gour 2017-01-04 02:47:09 +05:30
parent 1bfc80fdc3
commit 568eaceb6d
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@
"no-alert": "off",
"no-array-constructor": "error",
"no-bitwise": "off",
"no-caller": "error",
"no-caller": "off",
"no-console": "off",
"no-catch-shadow": "error",
"no-confusing-arrow": "error",

View File

@ -364,7 +364,7 @@ settingsBtn, onboardModal, notificationsBtn */
addLibraryModal.classList.remove('is-modal-visible');
onboardModal.classList.remove('is-modal-visible');
toggleSavedItemsPane(false);
document.dispatchEvent( new Event('overlaysClosed'));
document.dispatchEvent(new Event('overlaysClosed'));
}
/**
@ -947,7 +947,7 @@ settingsBtn, onboardModal, notificationsBtn */
onboardModal.classList.add('is-modal-visible');
trackEvent('ui', 'onboardModalSeen');
// set the current version as seen on closing the onboard modal
utils.once(document, 'overlaysClosed', function (e) {
utils.once(document, 'overlaysClosed', function () {
chrome.storage.sync.set({
lastSeenVersion: version
}, function () {});