Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: js/desktop-options.js

Issue 29710555: Issue 6426 - Start using CSS modularization tool in adblockplusui (Closed)
Patch Set: Created Feb. 27, 2018, 11:37 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: js/desktop-options.js
===================================================================
--- a/js/desktop-options.js
+++ b/js/desktop-options.js
@@ -11,20 +11,22 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
/* globals checkShareResource, getDocLink, i18nFormatDateTime, openSharePopup,
- setLinks, E */
+ require, setLinks, E */
"use strict";
+require("../css/desktop-options.css");
Thomas Greiner 2018/02/27 13:59:21 We already declare it in desktop-options.html so w
a.giammarchi 2018/02/27 14:19:36 look closer :-) what we ship is skin/desktop-opti
Thomas Greiner 2018/02/27 19:41:54 The problem I see is that this approach requires u
a.giammarchi 2018/02/28 08:10:18 1 and 2 are already there, those are the bundled v
Thomas Greiner 2018/02/28 12:23:14 That's true. I wrongly assumed it was part of your
a.giammarchi 2018/02/28 13:01:03 it's for components. Components have related CSS.
Thomas Greiner 2018/03/07 13:10:21 Of course they're not independent but this `requir
+
let subscriptionsMap = Object.create(null);
let filtersMap = Object.create(null);
let collections = Object.create(null);
let acceptableAdsUrl = null;
let acceptableAdsPrivacyUrl = null;
let isCustomFiltersLoaded = false;
let {getMessage} = browser.i18n;
let {setElementText} = ext.i18n;

Powered by Google App Engine
This is Rietveld