OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 /** | |
6 * Wire up the prefs to the downloads page. | |
michaelpg
2015/03/08 05:37:36
optional nit: I'm not sure this really need to be
Kyle Horimoto
2015/03/09 20:16:21
Yep, I don't think this an appropriate JSDoc use c
Oren Blasberg
2015/03/09 21:05:05
Done.
| |
7 */ | |
8 window.onload = function() { | |
michaelpg
2015/03/08 05:37:36
Prefer window.addEventListener('polymer-ready', ..
Oren Blasberg
2015/03/09 21:05:05
Done.
| |
9 var page = document.querySelector('cr-settings-downloads-page'); | |
10 page.prefs = document.querySelector('cr-settings-prefs'); | |
11 }; | |
OLD | NEW |