Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 15c50d7

Browse files
chalinkwalrath
authored andcommitted
docs(*): fix broken links in glossary and router chapter (#2279)
- Glossary: `#ecmascript=2015` is not a valid fragment. - Router: `<a name=“…”>` needed to be `<a id=“…”>`.
1 parent b56e4c6 commit 15c50d7

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

public/docs/ts/latest/glossary.jade

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,17 +357,17 @@ block includes
357357
## ES2015
358358
.l-sub-section
359359
:marked
360-
Short hand for "[ECMAScript 2015](#ecmascript=2015)".
360+
Short hand for [ECMAScript](#ecmascript) 2015.
361361
:marked
362362
## ES6
363363
.l-sub-section
364364
:marked
365-
Short hand for "[ECMAScript 2015](#ecmascript=2015)".
365+
Short hand for [ECMAScript](#ecmascript) 2015.
366366
:marked
367367
## ES5
368368
.l-sub-section
369369
:marked
370-
Short hand for "ECMAScript 5", the version of JavaScript run by most modern browsers.
370+
Short hand for [ECMAScript](#ecmascript) 5, the version of JavaScript run by most modern browsers.
371371
See [ECMAScript](#ecmascript).
372372

373373
a#F
@@ -732,7 +732,7 @@ a#snake-case
732732
## TypeScript
733733
.l-sub-section
734734
:marked
735-
A version of JavaScript that supports most [ECMAScript 2015](#ecmascript=2015)
735+
A version of JavaScript that supports most [ECMAScript](#ecmascript) 2015
736736
language features and many features that may arrive in future versions
737737
of JavaScript such as [Decorators](#decorator).
738738

public/docs/ts/latest/guide/router-deprecated.jade

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,9 +1380,8 @@ code-example(format="." language="bash").
13801380
We too can call that `ngOnInit` method in our tests if we wish ... after taking control of the injected
13811381
`HeroService` and (perhaps) mocking it.
13821382

1383-
<a name="browser-url-styles"></a>
1384-
<a id="location-strategy"></a>
1385-
.l-main-section
1383+
a#browser-url-styles
1384+
.l-main-section#location-strategy
13861385
:marked
13871386
## Appendix: *LocationStrategy* and browser URL styles
13881387

public/docs/ts/latest/guide/router.jade

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,9 +1941,8 @@ a#fragment
19411941
We too can call that `ngOnInit` method in our tests if we wish ... after taking control of the injected
19421942
`HeroService` and (perhaps) mocking it.
19431943

1944-
<a name="browser-url-styles"></a>
1945-
<a id="location-strategy"></a>
1946-
.l-main-section
1944+
a#browser-url-styles
1945+
.l-main-section#location-strategy
19471946
:marked
19481947
## Appendix: *LocationStrategy* and browser URL styles
19491948

0 commit comments

Comments
 (0)