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

Commit 0f64eb8

Browse files
chalinkwalrath
authored andcommitted
docs: fix misc broken links for Dart (#2953)
1 parent 1a5f4f4 commit 0f64eb8

File tree

5 files changed

+11
-15
lines changed

5 files changed

+11
-15
lines changed

public/docs/dart/latest/guide/component-styles.jade

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ block css-import-url
2424
be given as is illustrated below.
2525

2626
block module-id
27-
p.
27+
:marked
2828
Thankfully, this is the default interpretation of relative URLs in
2929
Angular2 for Dart:
30-
+makeExample('component-styles/ts/app/quest-summary.component.ts', 'urls')(format='.')
31-
:marked
32-
Note that special measures must be taken in Angular2 for TypeScript, if
33-
relative URLs are to have the same interpretation. See
34-
[here](../../../ts/latest/guide/component-styles.html#relative-urls)
35-
for details.
30+
31+
+makeExcerpt('app/quest-summary.component.ts', 'urls', '')
32+
33+
3634

public/docs/dart/latest/guide/forms.jade

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ figure.image-display
254254
The `p` template input variable is a different power in each iteration;
255255
we display its name using the interpolation syntax with the double curly braces.
256256

257-
258-
.l-main-section
257+
.l-main-section#ngModel
259258
:marked
260259
## Two-way data binding with ***ngModel**
261260
Running the app right now would be disappointing.

public/docs/ts/latest/glossary.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ a#aot
250250
and returns a fully prepared instance of "A".
251251

252252
Angular provides and relies upon its own sophisticated
253-
[dependency injection](dependency-injection.html) system
253+
[dependency injection](!{docsLatest}/guide/dependency-injection.html) system
254254
to assemble and run applications by "injecting" application parts
255255
into other application parts where and when needed.
256256

public/docs/ts/latest/guide/component-styles.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,7 @@ a#relative-urls
298298
## Appendix 2: Loading Styles with Relative URLs
299299

300300
It's common practice to split a component's code, HTML, and CSS into three separate files in the same directory:
301-
302-
code-example(format='').
301+
code-example(format="nocode").
303302
quest-summary.component.ts
304303
quest-summary.component.html
305304
quest-summary.component.css
@@ -313,7 +312,8 @@ block module-id
313312
:marked
314313
We can change the way Angular calculates the full URL be setting the component metadata's `moduleId` property to `module.id`.
315314

316-
+makeExample('component-styles/ts/app/quest-summary.component.ts','', 'app/quest-summary.component.ts')
315+
+makeExample('app/quest-summary.component.ts')
316+
317317
:marked
318318
Learn more about `moduleId` in the [Component-Relative Paths](../cookbook/component-relative-paths.html) chapter.
319319

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ ol
271271
The `pow` template input variable is a different power in each iteration;
272272
we display its name using the interpolation syntax with the double-curly-braces.
273273

274-
<a id="ngModel"></a>
275-
.l-main-section
274+
.l-main-section#ngModel
276275
:marked
277276
## Two-way data binding with **_ngModel_**
278277
Running the app right now would be disappointing.

0 commit comments

Comments
 (0)