mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Externs should use var instead of let
Multiple externs may declare the same symbol and that's ok. That doesn't work if an extern is declared with `let` instead of `var`, you get errors like: Duplicate let / const / class / function declaration in the same scope is not allowed.
This commit is contained in:
@@ -33,7 +33,7 @@ let ShadyDOM = {
|
||||
|
||||
window.ShadyDOM = ShadyDOM;
|
||||
|
||||
let WebComponents = {};
|
||||
var WebComponents = {};
|
||||
window.WebComponents = WebComponents;
|
||||
|
||||
/** @type {Element} */
|
||||
|
||||
Reference in New Issue
Block a user