Fix: duplicate capitalize

This commit is contained in:
eight 2019-11-09 17:21:08 +08:00
parent cb8cfe292b
commit 084b08e530

View File

@ -1,7 +1,7 @@
/* global configDialog hotkeys onTabReady msg
getActiveTab FIREFOX getTabRealURL URLS API onDOMready $ $$ prefs CHROME
setupLivePrefs template t $create tWordBreak animateElement
tryJSONparse debounce CHROME_HAS_BORDER_BUG */
tryJSONparse debounce CHROME_HAS_BORDER_BUG capitalize */
'use strict';
@ -348,10 +348,6 @@ function createStyleElement(style) {
return entry;
}
function capitalize(s) {
return s[0].toUpperCase() + s.slice(1);
}
function styleExcluded({exclusions}, type) {
if (!exclusions) {
return false;