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

Unified Diff: chrome/devtools.js

Issue 29371763: Issue 4795 - Use modern JavaScript syntax (Closed)
Patch Set: "use strict"; Created Jan. 16, 2017, 3:30 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 | « background.js ('k') | chrome/ext/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/devtools.js
diff --git a/chrome/devtools.js b/chrome/devtools.js
index 255aeb387bfa8db9e15005390587874a782f4a1b..7e2392dfab01fbf2197654ab6de0472531a8d788 100644
--- a/chrome/devtools.js
+++ b/chrome/devtools.js
@@ -22,7 +22,7 @@ chrome.runtime.sendMessage(
type: "prefs.get",
key: "show_devtools_panel"
},
- function(enabled)
+ enabled =>
{
if (enabled)
chrome.devtools.panels.create("Adblock Plus",
« no previous file with comments | « background.js ('k') | chrome/ext/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld