Skip to content

Commit

Permalink
Update Google Closure Compiler version and fix cast
Browse files Browse the repository at this point in the history
  • Loading branch information
TimvdLippe committed Feb 25, 2018
1 parent 0657de0 commit 4004c9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/legacy/legacy-element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
*
* @return {void}
* @override
* @suppress {invalidCasts}
*/
_initializeProperties() {
let proto = Object.getPrototypeOf(this);
Expand All @@ -172,7 +173,7 @@
this._registered();
}
super._initializeProperties();
this.root = this;
this.root = /** @type {HTMLElement} */(this);
this.created();
}

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dom5": "^2.3.0",
"eslint-plugin-html": "^4.0.1",
"fs-extra": "^4.0.3",
"google-closure-compiler": "^20171112.0.0",
"google-closure-compiler": "^20180204.0.0",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-eslint": "^4.0.0",
Expand Down

0 comments on commit 4004c9c

Please sign in to comment.