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

Unified Diff: chrome/browser/resources/local_ntp/local_ntp.js

Issue 2903063007: WebUI: Linting: Add missing semicolons in local_ntp code. (Closed)
Patch Set: Add more files Created 3 years, 7 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/local_ntp/local_ntp.js
diff --git a/chrome/browser/resources/local_ntp/local_ntp.js b/chrome/browser/resources/local_ntp/local_ntp.js
index ec10dfc5e3dcfc20e74243ff8b5e174d6404a6d1..171ba9879a6cb0b5b32d29daccf85c935fd48481 100644
--- a/chrome/browser/resources/local_ntp/local_ntp.js
+++ b/chrome/browser/resources/local_ntp/local_ntp.js
@@ -5,6 +5,8 @@
// NOTE: If you modify this file, you also have to change its hash in
// local_ntp.html and in LocalNtpSource::GetContentSecurityPolicyScriptSrc.
+// To calculate the sum execute the following command
+// sha256sum local_ntp.js | cut -d " " -f 1 | xxd -r -p | base64
dpapad 2017/05/25 21:28:43 It is unfortunate that modifying this file is now
Marc Treib 2017/06/07 08:49:33 If there's a mismatch, you should get an error mes
/**
@@ -637,7 +639,7 @@ function init() {
document.body.appendChild(ogScript);
ogScript.onload = function() {
injectOneGoogleBar(og.html, og.end_of_body_html);
- }
+ };
} else {
document.body.classList.add(CLASSES.NON_GOOGLE_PAGE);
}
@@ -717,9 +719,9 @@ function injectOneGoogleBar(barHtml, endOfBodyHtml) {
endOfBodyScript.src =
'chrome-search://local-ntp/one-google/end-of-body.js';
document.body.appendChild(endOfBodyScript);
- }
- }
- }
+ };
+ };
+ };
}
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp.html ('k') | chrome/browser/resources/local_ntp/most_visited_single.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698