Skip to content

Commit

Permalink
Fix a couple more compiler warnings
Browse files Browse the repository at this point in the history
Fixes warnings in some internal builds.
  • Loading branch information
rictic committed Apr 27, 2020
1 parent 2ce7163 commit ad2bca1
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 ad2bca1

Please sign in to comment.