From bb81b8b4b442249900d56eb03e070e6cfcc2bd50 Mon Sep 17 00:00:00 2001 From: Kasper Nilsson Date: Mon, 15 May 2017 16:41:20 -0700 Subject: [PATCH] ES6ify /gr-linked-chip/* Bug: Issue 6179 Change-Id: I415ac876ce8a74eee681cd9ad17ca832d289ba02 --- .../shared/gr-linked-chip/gr-linked-chip.js | 4 ++-- .../shared/gr-linked-chip/gr-linked-chip_test.html | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip.js b/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip.js index c6a5e4e78a..bfba1c410c 100644 --- a/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip.js +++ b/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip.js @@ -30,11 +30,11 @@ }, }, - _getBackgroundClass: function(transparent) { + _getBackgroundClass(transparent) { return transparent ? 'transparentBackground' : ''; }, - _handleRemoveTap: function(e) { + _handleRemoveTap(e) { e.preventDefault(); this.fire('remove'); }, diff --git a/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip_test.html b/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip_test.html index eefc79d70a..3182653005 100644 --- a/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip_test.html +++ b/polygerrit-ui/app/elements/shared/gr-linked-chip/gr-linked-chip_test.html @@ -34,21 +34,21 @@ limitations under the License.