Skip to content

Commit

Permalink
Merge pull request #5328 from Polymer/no-rename-dom-module-import
Browse files Browse the repository at this point in the history
Protect DomModule.import against renaming
  • Loading branch information
rictic authored Aug 16, 2018
2 parents f576671 + aaf2cca commit 46d3719
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/elements/dom-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export class DomModule extends HTMLElement {
* @param {string=} selector The css selector by which to find the element.
* @return {Element} Returns the element which matches `selector` in the
* module registered at the specified `id`.
*
* @export
* @nocollapse Referred to indirectly in style-gather.js
*/
static import(id, selector) {
if (id) {
Expand Down

0 comments on commit 46d3719

Please sign in to comment.