Skip to content

Commit

Permalink
Merge pull request #5557 from Polymer/compile
Browse files Browse the repository at this point in the history
Fix a few Closure annotations
  • Loading branch information
aomarks authored Jun 15, 2019
2 parents fe81676 + a6bff43 commit 1b8263f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/legacy/legacy-element-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ export const LegacyElementMixin = dedupingMixin((base) => {
* is contained. This is a shorthand for
* `this.getRootNode().host`.
* @this {Element}
* @return {?Node} The element whose local dom within which this element is
* contained.
*/
get domHost() {
let root = wrap(this).getRootNode();
Expand Down Expand Up @@ -940,9 +942,9 @@ export const LegacyElementMixin = dedupingMixin((base) => {
* Cross-platform helper for setting an element's CSS `translate3d`
* property.
*
* @param {number} x X offset.
* @param {number} y Y offset.
* @param {number} z Z offset.
* @param {number|string} x X offset.
* @param {number|string} y Y offset.
* @param {number|string} z Z offset.
* @param {Element=} node Element to apply the transform to.
* Defaults to `this`.
* @return {void}
Expand Down

0 comments on commit 1b8263f

Please sign in to comment.