Skip to content

Commit 06986ab

Browse files
committed
fix(): avoid const / let
1 parent 9dbb88f commit 06986ab

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/client/polyfills/es5-html-element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
) {
88
return;
99
}
10-
const BuiltInHTMLElement = HTMLElement;
10+
var BuiltInHTMLElement = HTMLElement;
1111
window.HTMLElement = /** @this {!Object} */ function HTMLElement() {
1212
return Reflect.construct(
1313
BuiltInHTMLElement, [], /** @type {!Function} */ (this.constructor));

src/client/polyfills/system.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/compiler/component-lazy/generate-system.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ async function writeSystemLoader(config: d.Config, compilerCtx: d.CompilerCtx, l
4747
async function getSystemLoader(config: d.Config, corePath: string, includePolyfills: boolean) {
4848
const polyfills = includePolyfills ? await getAppBrowserCorePolyfills(config) : '';
4949
return `
50+
'use strict';
5051
${polyfills}
5152
5253
var doc = document;

0 commit comments

Comments
 (0)