From 2c9ffac383408aa4d84befd2f83254a98bd50f57 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Thu, 27 Apr 2017 10:21:32 -0700 Subject: [PATCH] Fix dedupingMixin --- lib/utils/mixin.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/mixin.html b/lib/utils/mixin.html index 0e2a99dab3..9ed0237663 100644 --- a/lib/utils/mixin.html +++ b/lib/utils/mixin.html @@ -53,9 +53,9 @@ * mixin applications to base */ Polymer.dedupingMixin = function(mixin) { - let cachedMixin = cachingMixin(mixin); + mixin = cachingMixin(mixin); // maintain a unique id for each mixin - cachedMixin.__dedupeId = ++dedupeId; + mixin.__dedupeId = ++dedupeId; return function(base) { let baseSet = base.__mixinSet; if (baseSet && baseSet[mixin.__dedupeId]) {