OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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('chargerReplacement', function() { | 5 cr.define('chargerReplacement', function() { |
6 | 6 |
7 /** | 7 /** |
8 * Enumeration of charger selection. | 8 * Enumeration of charger selection. |
9 * @enum {int} | 9 * @enum {int} |
10 */ | 10 */ |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 window.addEventListener('message', handleWindowMessage); | 365 window.addEventListener('message', handleWindowMessage); |
366 } | 366 } |
367 | 367 |
368 return { | 368 return { |
369 load: load | 369 load: load |
370 }; | 370 }; |
371 }); | 371 }); |
372 | 372 |
373 document.addEventListener('DOMContentLoaded', chargerReplacement.load); | 373 document.addEventListener('DOMContentLoaded', chargerReplacement.load); |
374 | 374 |
OLD | NEW |