Skip to content

Commit

Permalink
Update standalone.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Apr 21, 2023
1 parent fac6da5 commit fc66297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/browser/src/browser/standalone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ if (shouldPolyfill()) {
// load polyfills in order to get AJS to work with old browsers
const script = document.createElement('script')
script.setAttribute(
'src', // this should map to tsconfig lib. always,gated mean "always download all polyfills from the server, but only load them if a polyfill does not exist"
'https://polyfill.io/v3/polyfill.min.js?features=es5,es2015,es2016,es2017,es2018,es2019,es2020&flags=always,gated'
'src', // this should map to tsconfig lib. gated means "only load polyfill if feature does not exist"
'https://polyfill.io/v3/polyfill.min.js?features=es5,es2015,es2016,es2017,es2018,es2019,es2020&flags=gated'
)

if (document.readyState === 'loading') {
Expand Down

0 comments on commit fc66297

Please sign in to comment.