Skip to content

Commit

Permalink
Fix dedupingMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Apr 27, 2017
1 parent f04d631 commit 2c9ffac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit 2c9ffac

Please sign in to comment.