angular-cn/aio/content/examples
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
..
ajs-quick-reference build(aio): lint examples 2017-05-03 13:44:41 -07:00
animations docs(aio): restore animation original value (#17385) 2017-06-09 18:27:11 -07:00
aot-compiler docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
architecture build(aio): lint examples 2017-05-03 13:44:41 -07:00
attribute-directives build(aio): lint examples 2017-05-03 13:44:41 -07:00
cli-quickstart docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
component-interaction docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
component-styles docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
dependency-injection build(aio): lint examples 2017-05-03 13:44:41 -07:00
dependency-injection-in-action build(aio): lint examples 2017-05-03 13:44:41 -07:00
deployment docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
displaying-data docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
dynamic-component-loader build(aio): lint examples 2017-05-03 13:44:41 -07:00
dynamic-form build(aio): lint examples 2017-05-03 13:44:41 -07:00
form-validation docs(aio): rename cb- files and a few others 2017-04-24 14:00:51 +01:00
forms docs(aio): restore missing files (#16995) 2017-05-25 17:44:03 -06:00
hierarchical-dependency-injection docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
http docs(aio): rename http guide 2017-04-20 16:01:44 +01:00
i18n docs(aio): i18n guide - updates for v4 2017-06-13 12:38:38 +01:00
lifecycle-hooks feat(aio): add e2e (#15976) 2017-04-19 22:36:23 -05:00
ngcontainer docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
ngmodule build(aio): lint examples 2017-05-03 13:44:41 -07:00
pipes docs(aio): final migration from old site 2017-04-12 21:01:55 +01:00
quickstart docs(aio): remove js examples 2017-04-20 16:04:06 +01:00
reactive-forms docs(aio): restore missing files (#16995) 2017-05-25 17:44:03 -06:00
router docs(aio): move example specific styles into router example app.css file 2017-06-09 14:33:21 +01:00
security build(aio): lint examples 2017-05-03 13:44:41 -07:00
set-document-title docs(aio): rename cb- files and a few others 2017-04-24 14:00:51 +01:00
setup fix(aio): switch from `innerText` to `textContent` to support older browsers 2017-06-19 10:32:36 -07:00
structural-directives docs(aio): final migration from old site 2017-04-12 21:01:55 +01:00
styleguide docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
template-syntax fix(aio): switch from `innerText` to `textContent` to support older browsers 2017-06-19 10:32:36 -07:00
testing docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
toh-pt1 build(aio): lint examples 2017-05-03 13:44:41 -07:00
toh-pt2 build(aio): lint examples 2017-05-03 13:44:41 -07:00
toh-pt3 build(aio): lint examples 2017-05-03 13:44:41 -07:00
toh-pt4 build(aio): lint examples 2017-05-03 13:44:41 -07:00
toh-pt5 docs(aio): create styles.css snippet file for toh-pt5 example 2017-06-09 14:33:21 +01:00
toh-pt6 docs(aio): fix toh e2e test 2017-05-16 09:42:59 +01:00
ts-to-js build(aio): lint examples 2017-05-03 13:44:41 -07:00
universal docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
upgrade-module docs(aio): rework of the upgrade guide 2017-05-19 09:42:17 +01:00
upgrade-phonecat-1-typescript docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
upgrade-phonecat-2-hybrid docs(aio): fix broken example in upgrade guide 2017-06-11 18:37:27 +01:00
upgrade-phonecat-3-final docs(aio): rework of the upgrade guide 2017-05-19 09:42:17 +01:00
user-input docs(aio): final migration from old site 2017-04-12 21:01:55 +01:00
visual-studio-2015 docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
webpack docs(aio): update typescript for `examples/webpack` to same as cli 2017-06-13 10:28:10 -07:00
.gitignore docs(aio): do not ignore i18n example js file 2017-06-09 14:33:21 +01:00
tsconfig.json build(aio): give intellisense to the examples 2017-04-15 22:15:54 +01:00
tslint.json build(aio): lint examples 2017-05-03 13:44:41 -07:00