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

Unified Diff: options.js

Issue 29492577: Noissue - Fix indentation errors for ESLint 4 (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Only fix indentation in options.js Created Aug. 18, 2017, 1:43 p.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: options.js
===================================================================
--- a/options.js
+++ b/options.js
@@ -68,24 +68,24 @@
const updateSubscription = wrapper({type: "subscriptions.update"}, "url");
const importRawFilters = wrapper({type: "filters.importRaw"},
"text", "removeExisting");
const addFilter = wrapper({type: "filters.add"}, "text");
const removeFilter = wrapper({type: "filters.remove"}, "text");
const whitelistedDomainRegexp = /^@@\|\|([^/:]+)\^\$document$/;
const statusMessages = new Map([
- ["synchronize_invalid_url",
- "filters_subscription_lastDownload_invalidURL"],
- ["synchronize_connection_error",
- "filters_subscription_lastDownload_connectionError"],
- ["synchronize_invalid_data",
- "filters_subscription_lastDownload_invalidData"],
- ["synchronize_checksum_mismatch",
- "filters_subscription_lastDownload_checksumMismatch"]
+ ["synchronize_invalid_url",
+ "filters_subscription_lastDownload_invalidURL"],
+ ["synchronize_connection_error",
+ "filters_subscription_lastDownload_connectionError"],
+ ["synchronize_invalid_data",
+ "filters_subscription_lastDownload_invalidData"],
+ ["synchronize_checksum_mismatch",
+ "filters_subscription_lastDownload_checksumMismatch"]
]);
let delayedSubscriptionSelection = null;
let acceptableAdsUrl;
// Loads options from localStorage and sets UI elements accordingly
function loadOptions()
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld