Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/KeyboardShortcut.js

Issue 1907263002: DevTools: Fix all outstanding JavaScript style issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove yoda disable. fix throw parens Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/KeyboardShortcut.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/KeyboardShortcut.js b/third_party/WebKit/Source/devtools/front_end/ui/KeyboardShortcut.js
index ba9f9596ab776eb38ac5a4e4731809659450172f..aaf893fe6dc947ab2d349b0d14cbbfad920a01fb 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/KeyboardShortcut.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/KeyboardShortcut.js
@@ -256,7 +256,7 @@ WebInspector.KeyboardShortcut._keyName = function(key)
return key.toUpperCase();
if (typeof key.name === "string")
return key.name;
- return key.name[WebInspector.platform()] || key.name.other || '';
+ return key.name[WebInspector.platform()] || key.name.other || "";
}
/**

Powered by Google App Engine
This is Rietveld 408576698