Fix: pass eslint

This commit is contained in:
eight 2018-10-14 21:24:57 +08:00
parent f45f95fd02
commit 9a8a529793
2 changed files with 5 additions and 8 deletions

View File

@ -250,7 +250,7 @@ function createStyleTargetsElement({entry, style}) {
const displayed = new Set();
for (const type of TARGET_TYPES) {
for (const section of style.sections) {
for (const targetValue of target[type] || []) {
for (const targetValue of section[type] || []) {
if (displayed.has(targetValue)) {
continue;
}

View File

@ -1,10 +1,7 @@
/*
global configDialog hotkeys
popupExclusions onTabReady msg
getActiveTab FIREFOX getTabRealURL URLS API onDOMready $ $$ prefs CHROME
setupLivePrefs template t $create tWordBreak animateElement
tryJSONparse debounce
*/
/* global configDialog hotkeys onTabReady msg
getActiveTab FIREFOX getTabRealURL URLS API onDOMready $ $$ prefs CHROME
setupLivePrefs template t $create tWordBreak animateElement
tryJSONparse debounce */
'use strict';