Skip to content

Commit

Permalink
Remove useless id check on mixins
Browse files Browse the repository at this point in the history
Fixes #4445
  • Loading branch information
dfreedm committed Mar 20, 2017
1 parent 3d054ba commit 8c1a576
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/utils/mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
Polymer.dedupingMixin = function(mixin) {
mixin = cachingMixin(mixin);
// maintain a unique id for each mixin
if (!mixin.__id) {
mixin.__dedupeId = ++dedupeId;
}
mixin.__dedupeId = ++dedupeId;
return function(base) {
let baseSet = base.__mixinSet;
if (baseSet && baseSet[mixin.__dedupeId]) {
Expand Down

0 comments on commit 8c1a576

Please sign in to comment.