angular-cn/aio/src
George Kalpakas 85990c3213 fix(docs-infra): correctly run on IE11 (#32871)
Since 007282d2b, [TocService][1] uses [forEach()][2] to iterate over a
`NodeList`. This breaks in IE11, which does not support
`NodeList#forEach()`.

This commit wraps the returned `NodeList` in a regular `Array` to have
access to array methods (such as `forEach()`).

Fixes #32832

[1]: https://github.com/angular/angular/blob/fbad4ff65/aio/src/app/shared/toc.service.ts#L68
[2]: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach

PR Close #32871
2019-09-26 17:05:38 -07:00
..
app fix(docs-infra): correctly run on IE11 (#32871) 2019-09-26 17:05:38 -07:00
assets fix(docs-infra): fix logo to have branded red color (#31663) 2019-07-22 09:54:00 -07:00
environments build(docs-infra): remove obsolete `ie-polyfills.js` (#29926) 2019-04-25 12:32:49 -07:00
extra-files build(aio): generate sitemap from the generated pages (#21689) 2018-01-22 12:55:15 -08:00
styles fix(docs-infra): fix broken toc ul styles (#32124) 2019-08-14 12:01:17 -07:00
testing test(docs-infra): run tests in random order (and make them pass) (#31527) 2019-07-18 10:17:13 -07:00
404-body.html fix(docs-infra): improve a11y (#28086) 2019-01-16 17:37:45 -08:00
google385281288605d160.html build(aio): add google webmaster tools verification file 2017-05-26 01:25:58 -07:00
index.html build(docs-infra): remove obsolete `ie-polyfills.js` (#29926) 2019-04-25 12:32:49 -07:00
main.ts feat(docs-infra): Convert AIO to use the new Service Worker 5.0.0. (#19795) 2018-08-27 16:30:42 -04:00
noop-worker-basic.js feat(aio): provide noop service worker file 2017-05-26 14:24:41 +01:00
polyfills.ts build(docs-infra): remove obsolete `ie-polyfills.js` (#29926) 2019-04-25 12:32:49 -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(docs-infra): remove reflect-metadata polyfill from aio tests (#27130) 2018-11-16 12:17:44 -08:00
typings.d.ts build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00