| Index: chrome/browser/resources/md_downloads/manager.js
|
| diff --git a/chrome/browser/resources/md_downloads/manager.js b/chrome/browser/resources/md_downloads/manager.js
|
| index 743aacd19af0b0cbe9fcdc33e7b1f5e694e74580..4eed16b28a1d0d01b057b76e37c98a54fb6e0406 100644
|
| --- a/chrome/browser/resources/md_downloads/manager.js
|
| +++ b/chrome/browser/resources/md_downloads/manager.js
|
| @@ -29,7 +29,9 @@ cr.define('downloads', function() {
|
| /** @private {!Array<!downloads.Data>} */
|
| items_: {
|
| type: Array,
|
| - value: function() { return []; },
|
| + value: function() {
|
| + return [];
|
| + },
|
| },
|
|
|
| /** @private */
|
| @@ -105,7 +107,7 @@ cr.define('downloads', function() {
|
| * @private
|
| */
|
| onCanExecute_: function(e) {
|
| - e = /** @type {cr.ui.CanExecuteEvent} */(e);
|
| + e = /** @type {cr.ui.CanExecuteEvent} */ (e);
|
| switch (e.command.id) {
|
| case 'undo-command':
|
| e.canExecute = this.$.toolbar.canUndo();
|
| @@ -194,7 +196,7 @@ cr.define('downloads', function() {
|
| updateItem_: function(index, data) {
|
| this.set('items_.' + index, data);
|
| this.updateHideDates_(index, index);
|
| - var list = /** @type {!IronListElement} */(this.$['downloads-list']);
|
| + var list = /** @type {!IronListElement} */ (this.$['downloads-list']);
|
| list.updateSizeForItem(index);
|
| },
|
| });
|
| @@ -205,7 +207,7 @@ cr.define('downloads', function() {
|
|
|
| /** @return {!downloads.Manager} */
|
| Manager.get = function() {
|
| - return /** @type {!downloads.Manager} */(
|
| + return /** @type {!downloads.Manager} */ (
|
| queryRequiredElement('downloads-manager'));
|
| };
|
|
|
|
|