| 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('bmm', function() { | 5 cr.define('bmm', function() { |
| 6 var Promise = cr.Promise; | 6 var Promise = cr.Promise; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Whether a node contains another node. | 9 * Whether a node contains another node. |
| 10 * TODO(yosin): Once JavaScript style guide is updated and linter follows | 10 * TODO(yosin): Once JavaScript style guide is updated and linter follows |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 }; | 239 }; |
| 240 | 240 |
| 241 return { | 241 return { |
| 242 contains: contains, | 242 contains: contains, |
| 243 isFolder: isFolder, | 243 isFolder: isFolder, |
| 244 loadSubtree: loadSubtree, | 244 loadSubtree: loadSubtree, |
| 245 loadTree: loadTree, | 245 loadTree: loadTree, |
| 246 addBookmarkModelListeners: addBookmarkModelListeners | 246 addBookmarkModelListeners: addBookmarkModelListeners |
| 247 }; | 247 }; |
| 248 }); | 248 }); |
| OLD | NEW |