Skip to content

Commit

Permalink
Avoid closure warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Apr 5, 2018
1 parent 616f666 commit 412bb1e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/legacy/legacy-element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
* passed to `Polymer({...})`) to the static API.
*
* @return {!Object} The `import.meta` object set on the prototype
* @suppress {missingProperties}
*/
static get importMeta() {
return this.prototype.importMeta;
Expand Down
2 changes: 1 addition & 1 deletion lib/legacy/polymer.dom.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
* This method facades to `Polymer.enqueueDebouncer`.
*
* @memberof Polymer.dom
* @param {Polymer.Debouncer} debouncer Debouncer to enqueue
* @param {!Polymer.Debouncer} debouncer Debouncer to enqueue
*/
Polymer.dom.addDebouncer = Polymer.enqueueDebouncer;
})();
Expand Down
3 changes: 2 additions & 1 deletion lib/mixins/element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
* used to create bindings relative to the import path.
*
* For elements defined in ES modules, users should implement
* `static get importMeta() { return import.meta; }` and the default
* `static get importMeta() { return import.meta; }`, and the default
* implementation of `importPath` will return `import.meta.url`'s path.
* For elements defined in HTML imports, this getter will return the path
* to the document containing a `dom-module` element matching this
Expand All @@ -413,6 +413,7 @@
* Note, this path should contain a trailing `/`.
*
* @return {string} The import path for this element class
* @suppress {missingProperties}
*/
static get importPath() {
if (!this.hasOwnProperty(JSCompiler_renameProperty('_importPath', this))) {
Expand Down
2 changes: 1 addition & 1 deletion lib/mixins/property-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
READ_ONLY: '__readOnly'
};

/** @const {string} */
/** @const {RegExp} */
const capitalAttributeRegex = /[A-Z]/;

/**
Expand Down

0 comments on commit 412bb1e

Please sign in to comment.