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

Unified Diff: components/dom_distiller/core/javascript/domdistiller.js

Issue 2745303002: Make .clang-format files smaller after clang-format roll (Closed)
Patch Set: clang-format offer Created 3 years, 9 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
« no previous file with comments | « chrome/browser/resources/.clang-format ('k') | ui/keyboard/resources/locales/en.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/javascript/domdistiller.js
diff --git a/components/dom_distiller/core/javascript/domdistiller.js b/components/dom_distiller/core/javascript/domdistiller.js
index bbd2d00d569febb7fd115c89cb33cacd4f467078..6e9a417a3cf9df73d666cec2b9ec0a73df91a419 100644
--- a/components/dom_distiller/core/javascript/domdistiller.js
+++ b/components/dom_distiller/core/javascript/domdistiller.js
@@ -8,7 +8,12 @@
try {
function initialize() {
// This include will be processed at build time by grit.
+ // Note: this <include> is not behind a single-line comment because the
+ // first line of the file is source code (so the first line would be
+ // skipped) instead of a licence header.
+ // clang-format off
<include src="../../../../third_party/dom_distiller_js/dist/js/domdistiller.js"/>
+ // clang-format on
}
window.setTimeout = function() {};
window.clearTimeout = function() {};
« no previous file with comments | « chrome/browser/resources/.clang-format ('k') | ui/keyboard/resources/locales/en.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698