Skip to content

Commit

Permalink
Add @const to elements
Browse files Browse the repository at this point in the history
  • Loading branch information
rslawik committed Apr 17, 2018
1 parent 0d8b34e commit 8009e49
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/elements/array-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@
static get is() { return 'array-selector'; }
}
customElements.define(ArraySelector.is, ArraySelector);

/** @const */
Polymer.ArraySelector = ArraySelector;

})();
Expand Down
2 changes: 2 additions & 0 deletions lib/elements/custom-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
}

window.customElements.define('custom-style', CustomStyle);

/** @const */
Polymer.CustomStyle = CustomStyle;
})();
</script>
1 change: 1 addition & 0 deletions lib/elements/dom-bind.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@

customElements.define('dom-bind', DomBind);

/** @const */
Polymer.DomBind = DomBind;

})();
Expand Down
1 change: 1 addition & 0 deletions lib/elements/dom-if.html
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@

customElements.define(DomIf.is, DomIf);

/** @const */
Polymer.DomIf = DomIf;

})();
Expand Down
2 changes: 1 addition & 1 deletion lib/elements/dom-module.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@

customElements.define('dom-module', DomModule);

// export
/** @const */
Polymer.DomModule = DomModule;

})();
Expand Down
1 change: 1 addition & 0 deletions lib/elements/dom-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@

customElements.define(DomRepeat.is, DomRepeat);

/** @const */
Polymer.DomRepeat = DomRepeat;

})();
Expand Down

0 comments on commit 8009e49

Please sign in to comment.