Chromium Code Reviews| Index: ui/webui/resources/js/cr.js |
| diff --git a/ui/webui/resources/js/cr.js b/ui/webui/resources/js/cr.js |
| index 99478f5e64c47e6fbb4e88ac80120b16c394ee45..e21d560470a4bfecd6c07266f718682f3db37f56 100644 |
| --- a/ui/webui/resources/js/cr.js |
| +++ b/ui/webui/resources/js/cr.js |
| @@ -25,6 +25,8 @@ var cr = cr || function() { |
| * @param {*=} opt_object The object to expose at the end of the path. |
| * @param {Object=} opt_objectToExportTo The object to add the path to; |
| * default is {@code global}. |
| + * @return {!Object} The last object exported, i.e. ('cr.ui' will return the |
| + * a reference to the ui dictionary property of window.cr). |
|
dpapad
2016/03/17 18:47:49
Nit: Either put "i.e." within the parentheses, or
Dan Beam
2016/03/17 19:26:58
Done.
|
| * @private |
| */ |
| function exportPath(name, opt_object, opt_objectToExportTo) { |
| @@ -42,7 +44,7 @@ var cr = cr || function() { |
| } |
| } |
| return cur; |
| - }; |
| + } |
| /** |
| * Fires a property change event on the target. |