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

Unified Diff: chrome/ext/devtools.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Patch Set: Fixed typo with shadowRoot getter Created March 14, 2017, 10:28 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/ext/devtools.js
diff --git a/chrome/ext/devtools.js b/chrome/ext/devtools.js
index dbc9738c7254d3afa3fc0d26247d9cd1a41b0909..c97a666d29ec9c4813fd658c2355e7d32ed4f0c9 100644
--- a/chrome/ext/devtools.js
+++ b/chrome/ext/devtools.js
@@ -17,10 +17,11 @@
"use strict";
+(function()
{
let inspectedTabId = chrome.devtools.inspectedWindow.tabId;
let port = chrome.runtime.connect({name: "devtools-" + inspectedTabId});
ext.onMessage = port.onMessage;
ext.devtools = chrome.devtools;
-}
+}());

Powered by Google App Engine
This is Rietveld