mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
parent
3d054bab66
commit
8c1a5765b8
@ -51,9 +51,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user