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

Unified Diff: chrome/browser/resources/md_extensions/code_section.js

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge 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/md_extensions/code_section.js
diff --git a/chrome/browser/resources/md_extensions/code_section.js b/chrome/browser/resources/md_extensions/code_section.js
index d0a93e2aac26986641c78f2ba764867322b36546..7c9389a5551b889f16080ed0b085f6d4bdd18a97 100644
--- a/chrome/browser/resources/md_extensions/code_section.js
+++ b/chrome/browser/resources/md_extensions/code_section.js
@@ -37,9 +37,9 @@ cr.define('extensions', function() {
if (!this.code)
return '';
- var lines = [this.code.beforeHighlight,
- this.code.highlight,
- this.code.afterHighlight].join('').match(/\n/g);
+ var lines = [
+ this.code.beforeHighlight, this.code.highlight, this.code.afterHighlight
+ ].join('').match(/\n/g);
var lineCount = lines ? lines.length : 0;
var textContent = '';
for (var i = 1; i <= lineCount; ++i)
« no previous file with comments | « chrome/browser/resources/md_extensions/animation_helper.js ('k') | chrome/browser/resources/md_extensions/detail_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698