code cosmetics: pacify eslint
This commit is contained in:
parent
c61d34d053
commit
c6724b02d3
|
@ -379,6 +379,8 @@ function onTabReady(tabOrId) {
|
||||||
* @returns {Promise<Tab>} Promise that resolves to the opened/activated tab
|
* @returns {Promise<Tab>} Promise that resolves to the opened/activated tab
|
||||||
*/
|
*/
|
||||||
function openURL({
|
function openURL({
|
||||||
|
// https://github.com/eslint/eslint/issues/10639
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
url = arguments[0],
|
url = arguments[0],
|
||||||
index,
|
index,
|
||||||
active,
|
active,
|
||||||
|
|
|
@ -541,7 +541,7 @@ Object.assign(handleEvent, {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
function handleUpdate(style, {reason, method, codeIsUpdated} = {}) {
|
function handleUpdate(style, {reason, method} = {}) {
|
||||||
if (reason === 'editPreview') return;
|
if (reason === 'editPreview') return;
|
||||||
// the style was toggled and refreshAllTabs() sent a mini-notification,
|
// the style was toggled and refreshAllTabs() sent a mini-notification,
|
||||||
// but we've already processed 'styleUpdated' sent directly from notifyAllTabs()
|
// but we've already processed 'styleUpdated' sent directly from notifyAllTabs()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user