OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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('chrome.sync.types', function() { | 5 cr.define('chrome.sync.types', function() { |
6 var typeCountersMap = {}; | 6 var typeCountersMap = {}; |
7 | 7 |
8 /** | 8 /** |
9 * Redraws the counters table taking advantage of the most recent | 9 * Redraws the counters table taking advantage of the most recent |
10 * available information. | 10 * available information. |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 var onLoad = function() { | 83 var onLoad = function() { |
84 initTypeCounters(); | 84 initTypeCounters(); |
85 }; | 85 }; |
86 | 86 |
87 return { | 87 return { |
88 onLoad: onLoad | 88 onLoad: onLoad |
89 }; | 89 }; |
90 }); | 90 }); |
91 | 91 |
92 document.addEventListener('DOMContentLoaded', chrome.sync.types.onLoad, false); | 92 document.addEventListener('DOMContentLoaded', chrome.sync.types.onLoad, false); |
OLD | NEW |