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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/TextUtils.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/TextUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/TextUtils.js b/third_party/WebKit/Source/devtools/front_end/common/TextUtils.js
index ae8728ff828cccbf0f4e6026a22cc44232dbbd5e..71c5d164e9c00e249dae0f1e9cc511051ca3760f 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/TextUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/TextUtils.js
@@ -108,7 +108,7 @@ WebInspector.TextUtils = {
textToWords: function(text, isWordChar, wordCallback)
{
var startWord = -1;
- for(var i = 0; i < text.length; ++i) {
+ for (var i = 0; i < text.length; ++i) {
if (!isWordChar(text.charAt(i))) {
if (startWord !== -1)
wordCallback(text.substring(startWord, i));

Powered by Google App Engine
This is Rietveld 408576698