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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorDictionary.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/CodeMirrorDictionary.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorDictionary.js b/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorDictionary.js
index 96ee2b55a822f5d53dafa682dfc32f59cd556ada..a110a50179d64f263ff775b6096e3eff0e993cf0 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorDictionary.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorDictionary.js
@@ -62,7 +62,7 @@ WebInspector.CodeMirrorDictionary.prototype = {
*/
_validWord: function(word)
{
- return !!word.length && (word[0] < '0' || word[0] > '9');
+ return !!word.length && (word[0] < "0" || word[0] > "9");
},
/**
@@ -143,4 +143,4 @@ WebInspector.CodeMirrorDictionary.prototype = {
this._codeMirror.off("changes", this._changes);
this._dictionary.reset();
},
-}
+}

Powered by Google App Engine
This is Rietveld 408576698