angular-cn/aio/content
Georgios Kalpakas 4f37f86433 fix(aio): switch from `innerText` to `textContent` to support older browsers
`innerText` is not supported in Firefox prior to v45. In most cases (at least
the ones we are interested in), `innerText` and `textContent` work equally well,
but `textContent` is more performant (as it doesn't require a reflow).

From [MDN][1] on the differences of `innerText` vs `textContent`:

> - [...]
> - `innerText` is aware of style and will not return the text of hidden
>   elements, whereas `textContent` will.
> - As `innerText` is aware of CSS styling, it will trigger a reflow, whereas
>   `textContent` will not.
> - [...]

[1]: https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#Differences_from_innerText

Fixes #17585
2017-06-19 10:32:36 -07:00
..
examples fix(aio): switch from `innerText` to `textContent` to support older browsers 2017-06-19 10:32:36 -07:00
guide docs(aio): incorporate Ward's comments 2017-06-15 07:46:44 +01:00
images docs(aio): update about page 2017-06-15 07:49:41 +01:00
marketing docs(aio): re-add biography entry for devversion 2017-06-16 07:56:15 +01:00
tutorial docs(aio): reorganise the sidenav menu (#16934) 2017-06-09 14:48:53 -07:00
file-not-found.md docs(aio): image sweep (#16609) 2017-05-09 15:53:32 -07:00
license.md docs(aio): fix missing title warnings 2017-05-03 13:42:10 -07:00
navigation.json docs(aio): rename Upgrade docs to cheatsheet 2017-06-13 07:15:05 +01:00