Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Polymer({ | 5 Polymer({ |
| 6 is: 'bookmarks-app', | 6 is: 'bookmarks-app', |
| 7 | 7 |
| 8 properties: { | 8 properties: { |
| 9 selectedId: String, | 9 selectedId: String, |
| 10 | 10 |
| 11 /** @type {BookmarkTreeNode} */ | 11 /** @type {BookmarkTreeNode} */ |
| 12 selectedNode: Object, | 12 rootNode: Object, |
| 13 | 13 |
| 14 /** @type {BookmarkTreeNode} */ | 14 searchTerm: String, |
| 15 rootNode: Object, | 15 |
| 16 displayedList: Array, | |
|
tsergeant
2017/01/12 06:45:05
Closure annotation here:
/** @type{Array<Bookmark
angelayang
2017/01/12 07:51:24
Done.
| |
| 16 }, | 17 }, |
| 17 | 18 |
| 18 /** @override */ | 19 /** @override */ |
| 19 attached: function() { | 20 attached: function() { |
| 20 /** @type {BookmarksStore} */ (this.$$('bookmarks-store')) | 21 /** @type {BookmarksStore} */ (this.$$('bookmarks-store')) |
| 21 .initializeStore(); | 22 .initializeStore(); |
| 22 }, | 23 }, |
| 23 }); | 24 }); |
| OLD | NEW |