Skip to content

Commit

Permalink
Port Closure Compiler fixes to polymer-externs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jun 25, 2018
1 parent cbcf991 commit bbaaf72
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion externs/polymer-externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,15 @@ Polymer.version;
* @extends {HTMLElement}
* @implements {Polymer_LegacyElementMixin}
*/
var PolymerElement = Polymer.LegacyElementMixin();
var PolymerElement = function() {};

/** On create callback. */
PolymerElement.prototype.created = function() {};
/** On ready callback. */
PolymerElement.prototype.ready = function() {};
/** On registered callback. */
PolymerElement.prototype.registered = function() {};
/** On attached to the DOM callback. */
PolymerElement.prototype.attached = function() {};
/** On detached from the DOM callback. */
PolymerElement.prototype.detached = function() {};

0 comments on commit bbaaf72

Please sign in to comment.