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

Unified Diff: chrome/browser/resources/md_history/searched_label.js

Issue 2578013002: [MD History] clang-format all javascript. (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « chrome/browser/resources/md_history/router.js ('k') | chrome/browser/resources/md_history/side_bar.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/searched_label.js
diff --git a/chrome/browser/resources/md_history/searched_label.js b/chrome/browser/resources/md_history/searched_label.js
index c22803c205e60c96bf1d39924b63f297a195f41f..bef60f60fb1b5af0f9945796ae860dd615175884 100644
--- a/chrome/browser/resources/md_history/searched_label.js
+++ b/chrome/browser/resources/md_history/searched_label.js
@@ -34,8 +34,8 @@ Polymer({
this.textContent = '';
while (match = re.exec(titleText)) {
if (match.index > i)
- this.appendChild(document.createTextNode(
- titleText.slice(i, match.index)));
+ this.appendChild(
+ document.createTextNode(titleText.slice(i, match.index)));
i = re.lastIndex;
// Mark the highlighted text in bold.
var b = document.createElement('b');
@@ -43,7 +43,6 @@ Polymer({
this.appendChild(b);
}
if (i < titleText.length)
- this.appendChild(
- document.createTextNode(titleText.slice(i)));
+ this.appendChild(document.createTextNode(titleText.slice(i)));
},
});
« no previous file with comments | « chrome/browser/resources/md_history/router.js ('k') | chrome/browser/resources/md_history/side_bar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698