Chromium Code Reviews| Index: chrome/browser/resources/app_list/start_page.js |
| diff --git a/chrome/browser/resources/app_list/start_page.js b/chrome/browser/resources/app_list/start_page.js |
| index fc5ebc4cd7b3bdc8cfbeb68c1c363c69a028ef63..3b665bc960a71c896e317cebea723835a4f0a607 100644 |
| --- a/chrome/browser/resources/app_list/start_page.js |
| +++ b/chrome/browser/resources/app_list/start_page.js |
| @@ -15,6 +15,7 @@ cr.define('appList.startPage', function() { |
| // The element containing the current Google Doodle. |
| var doodle = null; |
| + var doodleData = null; |
| /** |
| * Initialize the page. |
| @@ -83,6 +84,7 @@ cr.define('appList.startPage', function() { |
| this.doodle = null; |
| } |
| + this.doodleData = data.ddljson; |
|
Matt Giuca
2015/02/26 03:07:08
You aren't using this any more? (Since you seem to
Matt Giuca
2015/02/26 03:09:28
OK, then 1. Add a TODO explaining that this is for
calamity
2015/02/26 03:27:25
Keeping it here for inspection purposes.
|
| var doodleData = data.ddljson; |
| if (!doodleData || !doodleData.transparent_large_image) { |
| setDoodleVisible(false); |
| @@ -152,5 +154,4 @@ cr.define('appList.startPage', function() { |
| }; |
| }); |
| -document.addEventListener('contextmenu', function(e) { e.preventDefault(); }); |
| document.addEventListener('DOMContentLoaded', appList.startPage.initialize); |
|
Matt Giuca
2015/02/26 03:07:08
// TODO(calamity): Uncomment this line to suppress
calamity
2015/02/26 03:27:25
Did what was discussed.
|