OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 'use strict'; |
5 | 6 |
6 cr.define('bmm', function() { | 7 cr.define('bmm', function() { |
7 /** | 8 /** |
8 * The id of the bookmark root. | 9 * The id of the bookmark root. |
9 * @type {string} | 10 * @type {string} |
10 * @const | 11 * @const |
11 */ | 12 */ |
12 var ROOT_ID = '0'; | 13 var ROOT_ID = '0'; |
13 | 14 |
14 /** @const */ var Tree = cr.ui.Tree; | 15 /** @const */ var Tree = cr.ui.Tree; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 }; | 313 }; |
313 | 314 |
314 return { | 315 return { |
315 BookmarkTree: BookmarkTree, | 316 BookmarkTree: BookmarkTree, |
316 BookmarkTreeItem: BookmarkTreeItem, | 317 BookmarkTreeItem: BookmarkTreeItem, |
317 treeLookup: treeLookup, | 318 treeLookup: treeLookup, |
318 tree: /** @type {Element} */(null), // Set when decorated. | 319 tree: /** @type {Element} */(null), // Set when decorated. |
319 ROOT_ID: ROOT_ID | 320 ROOT_ID: ROOT_ID |
320 }; | 321 }; |
321 }); | 322 }); |
OLD | NEW |