George Kalpakas
fc709423f2
refactor(docs-infra): fix docs examples for tslint rule only-arrow-functions
( #38143 )
...
This commit updates the docs examples to be compatible with the
`only-arrow-functions` tslint rule.
This is in preparation of updating the docs examples `tslint.json` to
match the one generated for new Angular CLI apps in a future commit.
PR Close #38143
2020-07-31 11:00:06 -07:00
George Kalpakas
d89200ad24
refactor(docs-infra): remove unnecessary use strict
from docs examples TS files ( #38143 )
...
By default, TypeScript will emit `"use strict"` directives, so it is not
necessary to include `'use strict'` in `.ts` files:
https://www.typescriptlang.org/docs/handbook/compiler-options.html#:~:text=--noImplicitUseStrict
PR Close #38143
2020-07-31 11:00:05 -07:00
Peter Bacon Darwin
71eb7437b6
docs(aio): delay ngUpgrade e2e test to avoid flakes
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
0f79223008
docs(aio): fix deprecated protractor API usage
...
`browser.getLocationAbsUrl()` is deprecated.
We should use `browser.getCurrentUrl()` instead.
2017-07-28 15:28:28 -07:00
Georgios Kalpakas
d961911a98
docs(aio): fix broken example in upgrade guide
...
Fixes #17109
2017-06-11 18:37:27 +01:00
Filipe Silva
bfd5f27525
feat(aio): add e2e ( #15976 )
...
PR Close #15976
2017-04-19 22:36:23 -05:00
Peter Bacon Darwin
1f3198cb50
feat(aio): copy example code from angular.io
2017-02-23 23:23:58 -08:00