Merge pull request #5649 from Polymer/compiler-warnings

Fix a couple more compiler warnings
This commit is contained in:
Russell Bicknell 2020-04-28 14:32:28 -07:00 committed by GitHub
commit 05878b673c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@ window.HTMLImports = HTMLImports;
var ShadyDOM = {};
ShadyDOM.inUse;
ShadyDOM.composedPath;
ShadyDOM.flush = function() {};

View File

@ -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) {