Skip to content

Commit ad2bca1

Browse files
committed
Fix a couple more compiler warnings
Fixes warnings in some internal builds.
1 parent 2ce7163 commit ad2bca1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

externs/webcomponents-externs.js

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ window.HTMLImports = HTMLImports;
3232
var ShadyDOM = {};
3333

3434
ShadyDOM.inUse;
35+
ShadyDOM.composedPath;
3536

3637
ShadyDOM.flush = function() {};
3738

lib/utils/boot.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1313
* When using Closure Compiler, JSCompiler_renameProperty(property, object) is replaced by the munged name for object[property]
1414
* We cannot alias this function, so we have to use a small shim that has the same behavior when not compiling.
1515
*
16-
* @param {string} prop Property name
17-
* @param {?Object} obj Reference object
16+
* @param {?} prop Property name
17+
* @param {*} obj Reference object
1818
* @return {string} Potentially renamed property name
1919
*/
2020
window.JSCompiler_renameProperty = function(prop, obj) {

0 commit comments

Comments
 (0)