diff --git a/lib/legacy/class.html b/lib/legacy/class.html
index 00e6a1bdcc..0872775db5 100644
--- a/lib/legacy/class.html
+++ b/lib/legacy/class.html
@@ -63,7 +63,6 @@
return GenerateClassFromInfo({}, klass);
}
-
function applyBehaviors(behaviors, klass) {
if (!behaviors) {
klass = /** @type {HTMLElement} */(klass); // eslint-disable-line no-self-assign
@@ -72,7 +71,7 @@
// NOTE: ensure the behavior is extending a class with
// legacy element api. This is necessary since behaviors expect to be able
// to access 1.x legacy api.
- klass = class extends Polymer.LegacyElementMixin(klass) {};
+ klass = class extends Polymer.LegacyElementMixin(klass) { };
if (!Array.isArray(behaviors)) {
behaviors = [behaviors];
}
@@ -80,7 +79,7 @@
// get flattened, deduped list of behaviors *not* already on super class
behaviors = flattenBehaviors(behaviors, null, superBehaviors);
// mixin new behaviors
- klass = _applyBehaviors(behaviors, klass);
+ // klass = _applyBehaviors(behaviors, klass);
if (superBehaviors) {
behaviors = superBehaviors.concat(behaviors);
}
@@ -120,14 +119,16 @@
// (1) C.created, (2) A.created, (3) B.created, (4) element.created
// (again same as 1.x)
function _applyBehaviors(behaviors, klass) {
- for (let i=0; i