Skip to content

Commit

Permalink
Merge pull request #5649 from Polymer/compiler-warnings
Browse files Browse the repository at this point in the history
Fix a couple more compiler warnings
  • Loading branch information
bicknellr authored Apr 28, 2020
2 parents f73c89b + ad2bca1 commit 05878b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions externs/webcomponents-externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ window.HTMLImports = HTMLImports;
var ShadyDOM = {};

ShadyDOM.inUse;
ShadyDOM.composedPath;

ShadyDOM.flush = function() {};

Expand Down
4 changes: 2 additions & 2 deletions lib/utils/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* When using Closure Compiler, JSCompiler_renameProperty(property, object) is replaced by the munged name for object[property]
* We cannot alias this function, so we have to use a small shim that has the same behavior when not compiling.
*
* @param {string} prop Property name
* @param {?Object} obj Reference object
* @param {?} prop Property name
* @param {*} obj Reference object
* @return {string} Potentially renamed property name
*/
window.JSCompiler_renameProperty = function(prop, obj) {
Expand Down

0 comments on commit 05878b6

Please sign in to comment.