Skip to content

Commit

Permalink
LegacyElementMixin to @unrestricted
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Apr 27, 2017
1 parent 6a995a2 commit c1eda7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion closure.log
Original file line number Diff line number Diff line change
Expand Up @@ -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);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
6 changes: 1 addition & 5 deletions lib/legacy/legacy-element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit c1eda7a

Please sign in to comment.