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: Rebased, restored adblockplusui dependency revision Created March 22, 2017, 7:10 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
« no previous file with comments | « chrome/ext/content.js ('k') | chrome/ext/popup.js » ('j') | dependencies » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/devtools.js
diff --git a/chrome/ext/devtools.js b/chrome/ext/devtools.js
index e5c6a2a1ca93083dca57012149f5cf67577469ec..6ad338cc9d05373fb4770b1b72e0f52e1079312d 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;
-}
+}());
« no previous file with comments | « chrome/ext/content.js ('k') | chrome/ext/popup.js » ('j') | dependencies » ('J')

Powered by Google App Engine
This is Rietveld