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

Unified Diff: chrome/devtools.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Patch Set: Use var for ext declarations again Created Feb. 8, 2017, 9:02 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: chrome/devtools.js
diff --git a/chrome/devtools.js b/chrome/devtools.js
index f8aa5fa3566c8aaaae762cff8d1ef969f60e4599..1982829746b635937a73140087ff4c39991b6f39 100644
--- a/chrome/devtools.js
+++ b/chrome/devtools.js
@@ -47,12 +47,7 @@ chrome.runtime.sendMessage(
panel.onSearch.addListener((eventName, queryString) =>
{
if (panelWindow)
- {
- panelWindow.postMessage({
- type: eventName,
- queryString: queryString
- }, "*");
- }
+ panelWindow.postMessage({type: eventName, queryString}, "*");
});
}
);

Powered by Google App Engine
This is Rietveld