OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 cr.define('ntp', function() { | 5 cr.define('ntp', function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 var TilePage = ntp.TilePage; | 8 var TilePage = ntp.TilePage; |
9 | 9 |
10 /** | 10 /** |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 return oldData; | 461 return oldData; |
462 }; | 462 }; |
463 | 463 |
464 return { | 464 return { |
465 MostVisitedPage: MostVisitedPage, | 465 MostVisitedPage: MostVisitedPage, |
466 refreshData: refreshData, | 466 refreshData: refreshData, |
467 }; | 467 }; |
468 }); | 468 }); |
469 | 469 |
470 document.addEventListener('ntpLoaded', ntp.MostVisitedPage.onLoaded); | 470 document.addEventListener('ntpLoaded', ntp.MostVisitedPage.onLoaded); |
OLD | NEW |