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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/TextDictionary.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/common/TextDictionary.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/TextDictionary.js b/third_party/WebKit/Source/devtools/front_end/common/TextDictionary.js
index 92d98721b43ff2fd278d71bf0aa6805e7f846711..76abb697f89214671d4865fee58a17e1bf6bb79e 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/TextDictionary.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/TextDictionary.js
@@ -68,7 +68,7 @@ WebInspector.TextDictionary.prototype = {
wordsWithPrefix: function(prefix)
{
var words = [];
- for(var i in this._words) {
+ for (var i in this._words) {
if (i.startsWith(prefix))
words.push(i);
}

Powered by Google App Engine
This is Rietveld 408576698