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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.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/source_frame/CodeMirrorTextEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js b/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
index 3373f6d4d3542419cdb0df8a0b792757d612df2b..488c121d464189aee4b779f530ac9173e38b66c6 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
@@ -1066,7 +1066,7 @@ WebInspector.CodeMirrorTextEditor.prototype = {
_contextMenu: function(event)
{
var contextMenu = new WebInspector.ContextMenu(event);
- event.consume(true); //Consume event now to prevent document from handling the async menu
+ event.consume(true); // Consume event now to prevent document from handling the async menu
var target = event.target.enclosingNodeOrSelfWithClass("CodeMirror-gutter-elt");
var promise;
if (target)

Powered by Google App Engine
This is Rietveld 408576698