From c1eda7af5a71eeb002aed7630399697402bc4bf0 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Thu, 27 Apr 2017 10:49:27 -0700 Subject: [PATCH] LegacyElementMixin to `@unrestricted` --- closure.log | 2 +- lib/legacy/legacy-element-mixin.html | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/closure.log b/closure.log index 47bfeea094..aafe05f9ac 100644 --- a/closure.log +++ b/closure.log @@ -705,7 +705,7 @@ Found : PolymerElement !(window.customElements.polyfillWrapFlushCallback); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -/polymer.html_script_22.js:857: WARNING - Function this.splice: called with 3 argument(s). Function requires at least 4 argument(s) and at most 4. +/polymer.html_script_22.js:853: WARNING - Function this.splice: called with 3 argument(s). Function requires at least 4 argument(s) and at most 4. return this.splice(arrayOrPath, index, 1); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/lib/legacy/legacy-element-mixin.html b/lib/legacy/legacy-element-mixin.html index 9a1ff66f65..bcf6922da1 100644 --- a/lib/legacy/legacy-element-mixin.html +++ b/lib/legacy/legacy-element-mixin.html @@ -62,17 +62,13 @@ /** * @polymerMixinClass * @implements {Polymer_LegacyElementMixin} + * @unrestricted */ class LegacyElement extends legacyElementBase { constructor() { super(); this.root = this; - // initialize for closure but don't make false or a binding will see - // this setting. - this.isAttached = undefined; - this.__boundListeners = null; - this._debouncers = null; this.created(); }