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(); const displayed = new Set();
for (const type of TARGET_TYPES) { for (const type of TARGET_TYPES) {
for (const section of style.sections) { for (const section of style.sections) {
for (const targetValue of target[type] || []) { for (const targetValue of section[type] || []) {
if (displayed.has(targetValue)) { if (displayed.has(targetValue)) {
continue; continue;
} }

View File

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