angular-cn/aio/src
Michał Gołębiowski-Owczarek 8be6892777 fix(docs-infra): use script nomodule to load IE polyfills, skip other polyfills (#24317)
This commit includes two changes:
1. It changes the unreliable dynamic way of loading IE polyfills to use
   `<script nomodule>` instead - for IE it's equivalent to a regular script tag
   while modern browsers will ignore it.
2. It removes other polyfills for browsers not supporting `Object.assign` as
   this API is supported by Chrome 45+, Firefox 34+ and Safari 9+ i.e. it's been
   supported for some time.

Note that as of June 2018 Googlebot uses Chrome 41 to render sites to be
indexed. Chrome 41 doesn't support `Object.assign` but it also doesn't support
ES6 modules so it'll load polyfills meant for IE - which it should do anyway
as it doesn't support most of ES6.

Fixes #23647

PR Close #24317
2018-06-08 13:34:06 -07:00
..
app refactor(aio): rename method (loadContainingCustomElements --> loadContainedCustomElements) (#23944) 2018-05-29 18:00:33 -04:00
assets style(aio): remove background from `lazy-loading` concept icon (#23950) 2018-05-21 16:08:08 -04:00
environments test(aio): move reflect-metadata polyfills to test.ts (#23234) 2018-04-17 14:09:02 -07:00
extra-files build(aio): generate sitemap from the generated pages (#21689) 2018-01-22 12:55:15 -08:00
styles fix(aio): remove unnecessary scrollbar in `code-tabs` (#24207) 2018-06-04 12:07:25 -07:00
testing refactor(aio): rename method (loadContainingCustomElements --> loadContainedCustomElements) (#23944) 2018-05-29 18:00:33 -04:00
favicon.ico build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
google385281288605d160.html build(aio): add google webmaster tools verification file 2017-05-26 01:25:58 -07:00
ie-polyfills.js fix(aio): add missing WeakMap polyfill 2017-06-23 09:03:07 -07:00
index.html fix(docs-infra): use script nomodule to load IE polyfills, skip other polyfills (#24317) 2018-06-08 13:34:06 -07:00
karma.conf.js test(aio): fix tests and update testing infra (#23234) 2018-04-17 14:09:02 -07:00
main.ts fix(aio): wait for the app to stabilize before registering the SW (#22483) 2018-03-30 15:26:50 -07:00
noop-worker-basic.js feat(aio): provide noop service worker file 2017-05-26 14:24:41 +01:00
polyfills.ts test(aio): move reflect-metadata polyfills to test.ts (#23234) 2018-04-17 14:09:02 -07:00
pwa-manifest.json fix(aio): make background transparent in 144x144 PWA icon (#23851) 2018-05-11 12:38:21 -04:00
styles.scss style(aio): tidy up SCSS files 2017-03-13 12:55:11 -07:00
test.ts test(aio): move reflect-metadata polyfills to test.ts (#23234) 2018-04-17 14:09:02 -07:00
tsconfig.app.json build(aio): turn off preserveWhitespaces in compiler options (#19702) 2017-11-01 15:24:43 -07:00
tsconfig.spec.json test(aio): fix tests and update testing infra (#23234) 2018-04-17 14:09:02 -07:00
tslint.json build(aio): update tslint and codelyzer (#23234) 2018-04-17 14:09:02 -07:00
typings.d.ts build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00