forked from webcomponents/shadydom
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent renaming of properties added to Window and Node so that other…
… closure-compiler compiled code doesn't conflict.
- Loading branch information
1 parent
6218302
commit eab68f0
Showing
1 changed file
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,30 @@ | ||
/** | ||
* @fileoverview Externs to upstream to closure compiler | ||
* @fileoverview Externs for closure compiler | ||
* @externs | ||
*/ | ||
|
||
/** | ||
* Upstream to closure-compiler | ||
* @type {string} | ||
*/ | ||
Element.prototype.slot; | ||
|
||
/** | ||
* Upstream to closure-compiler | ||
* @type {Object} | ||
*/ | ||
Node.prototype.__shady; | ||
Node.prototype.__shady; | ||
|
||
/** | ||
* Block renaming of properties added to Window to | ||
* prevent conflicts with other closure-compiler code. | ||
* @type {Object} | ||
*/ | ||
Window.prototype.__handlers; | ||
|
||
/** | ||
* Block renaming of properties added to Node to | ||
* prevent conflicts with other closure-compiler code. | ||
* @type {Object} | ||
*/ | ||
Node.prototype.__handlers; |