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

Unified Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.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/host/InspectorFrontendHost.js
diff --git a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js
index 7cb296f9df9ee74769f62ace1b5a0b8d3f13b467..7ae98f48ae9519006806740a83ad7ee86a50ec1c 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js
@@ -518,7 +518,7 @@ var InspectorFrontendHost = window.InspectorFrontendHost || null;
if (signature.length < 2) {
try {
InspectorFrontendHost.events.dispatchEventToListeners(name, params[0]);
- } catch(e) {
+ } catch (e) {
console.error(e + " " + e.stack);
}
return;
@@ -528,7 +528,7 @@ var InspectorFrontendHost = window.InspectorFrontendHost || null;
data[signature[i]] = params[i];
try {
InspectorFrontendHost.events.dispatchEventToListeners(name, data);
- } catch(e) {
+ } catch (e) {
console.error(e + " " + e.stack);
}
}

Powered by Google App Engine
This is Rietveld 408576698