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

Unified Diff: chrome/browser/resources/ntp4/new_tab.js

Issue 12560002: Change var blah_blah -> blahBlah. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
Index: chrome/browser/resources/ntp4/new_tab.js
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js
index 8bd58419470b5f93201226321d43b48681dd2e52..a930f2fc853fb44b51aaa6df2f577ef20ec9ad14 100644
--- a/chrome/browser/resources/ntp4/new_tab.js
+++ b/chrome/browser/resources/ntp4/new_tab.js
@@ -170,9 +170,9 @@ cr.define('ntp', function() {
}
if (loadTimeData.getBoolean('isDiscoveryInNTPEnabled')) {
- var suggestions_script = document.createElement('script');
- suggestions_script.src = 'suggestions_page.js';
- suggestions_script.onload = function() {
+ var suggestionsScript = document.createElement('script');
+ suggestionsScript.src = 'suggestions_page.js';
+ suggestionsScript.onload = function() {
newTabView.appendTilePage(new ntp.SuggestionsPage(),
loadTimeData.getString('suggestions'),
false,
@@ -181,7 +181,7 @@ cr.define('ntp', function() {
chrome.send('getSuggestions');
cr.dispatchSimpleEvent(document, 'sectionready', true, true);
};
- document.querySelector('head').appendChild(suggestions_script);
+ document.querySelector('head').appendChild(suggestionsScript);
}
if (!loadTimeData.getBoolean('showWebStoreIcon')) {
« no previous file with comments | « chrome/browser/resources/net_internals/source_entry.js ('k') | chrome/browser/resources/options/chromeos/display_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698