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

Unified Diff: chrome/browser/resources/predictors/autocomplete_action_predictor.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: hackhackhack Created 3 years, 11 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: chrome/browser/resources/predictors/autocomplete_action_predictor.js
diff --git a/chrome/browser/resources/predictors/autocomplete_action_predictor.js b/chrome/browser/resources/predictors/autocomplete_action_predictor.js
index ebdad5c3df6df033ae5a449ec8d87a6d7819e436..80fe506c4d7057e0d41c2a541c7cea357db1af6d 100644
--- a/chrome/browser/resources/predictors/autocomplete_action_predictor.js
+++ b/chrome/browser/resources/predictors/autocomplete_action_predictor.js
@@ -54,9 +54,10 @@ function updateAutocompleteActionPredictorDbView(database) {
if (!filter.checked || entry.confidence > 0) {
var row = document.createElement('tr');
- row.className = (entry.confidence > 0.8 ? 'action-prerender' :
- (entry.confidence > 0.5 ? 'action-preconnect' :
- 'action-none'));
+ row.className =
+ (entry.confidence > 0.8 ?
+ 'action-prerender' :
+ (entry.confidence > 0.5 ? 'action-preconnect' : 'action-none'));
row.appendChild(document.createElement('td')).textContent =
entry.user_text;
@@ -74,5 +75,5 @@ function updateAutocompleteActionPredictorDbView(database) {
$('countBanner').textContent = 'Entries: ' + databaseSection.children.length;
}
-document.addEventListener('DOMContentLoaded',
- requestAutocompleteActionPredictorDb);
+document.addEventListener(
+ 'DOMContentLoaded', requestAutocompleteActionPredictorDb);

Powered by Google App Engine
This is Rietveld 408576698