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('chrome.sync.about_tab', function() { | 5 cr.define('chrome.sync.about_tab', function() { |
6 // Contains the latest snapshot of sync about info. | 6 // Contains the latest snapshot of sync about info. |
7 chrome.sync.aboutInfo = {}; | 7 chrome.sync.aboutInfo = {}; |
8 | 8 |
9 function highlightIfChanged(node, oldVal, newVal) { | 9 function highlightIfChanged(node, oldVal, newVal) { |
10 function clearHighlight() { | 10 function clearHighlight() { |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 181 |
182 return { | 182 return { |
183 onLoad: onLoad, | 183 onLoad: onLoad, |
184 addExpandListener: addExpandListener, | 184 addExpandListener: addExpandListener, |
185 highlightIfChanged: highlightIfChanged | 185 highlightIfChanged: highlightIfChanged |
186 }; | 186 }; |
187 }); | 187 }); |
188 | 188 |
189 document.addEventListener( | 189 document.addEventListener( |
190 'DOMContentLoaded', chrome.sync.about_tab.onLoad, false); | 190 'DOMContentLoaded', chrome.sync.about_tab.onLoad, false); |
OLD | NEW |