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

Commit 014883d

Browse files
chalinkwalrath
authored andcommitted
docs(*): fix links to Dart API entries (#2185)
* docs(*): fix links to Dart API entries * post-review updates
1 parent 2fcda45 commit 014883d

File tree

6 files changed

+13
-21
lines changed

6 files changed

+13
-21
lines changed

public/docs/dart/latest/guide/dependency-injection.jade

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ block real-logger
3434
A real implementation would probably use the
3535
[logging package](https://pub.dartlang.org/packages/logging).
3636

37+
block provider-shorthand
38+
:marked
39+
This is actually a shorthand expression for a provider registration
40+
that creates a new instance of the
41+
[Provider](../api/angular2.core/Provider-class.html) class:
42+
3743
block provider-ctor-args
3844
- var _secondParam = 'named parameter, such as <code>useClass</code>'
3945
:marked

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ figure.image-display
518518
Recall from the previous section that `ngControl` registered this input box with the
519519
`NgForm` directive as "name".
520520

521-
We didn't add the **[`NgForm`](../api/common/index/NgForm-directive.html) directive*
521+
We didn't add the [NgForm](../api/angular2.common/NgForm-class.html) directive
522522
explicitly. Angular added it surreptitiously, wrapping it around the `<form>` element.
523523

524524
The `NgForm` directive supplements the `<form>` element with additional features.

public/docs/ts/_cache/guide/dependency-injection.jade

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -527,15 +527,10 @@ code-example(format="nocode").
527527

528528
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-1')
529529

530-
:marked
531-
This is actually a short-hand expression for a provider registration
532-
<span if-docs="ts">
530+
block provider-shorthand
531+
:marked
532+
This is actually a shorthand expression for a provider registration
533533
using a _provider_ object literal with two properties:
534-
</span>
535-
<span if-docs="dart">
536-
that creates a new instance of the
537-
[Provider](../api/core/index/Provider-class.html) class:
538-
</span>
539534

540535
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-3')
541536

public/docs/ts/_cache/guide/template-syntax.jade

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,6 @@ table
492492
[viewChild](../api/core/index/ViewChild-var.html) and
493493
[contentChild](../api/core/index/ContentChild-var.html).
494494

495-
// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../
496-
497495
:marked
498496
### Binding target
499497
An element property between enclosing square brackets identifies the target property. The target property in the following code is the image element’s `src` property.

public/docs/ts/latest/guide/dependency-injection.jade

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -527,15 +527,10 @@ code-example(format="nocode").
527527

528528
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-1')
529529

530-
:marked
531-
This is actually a short-hand expression for a provider registration
532-
<span if-docs="ts">
530+
block provider-shorthand
531+
:marked
532+
This is actually a shorthand expression for a provider registration
533533
using a _provider_ object literal with two properties:
534-
</span>
535-
<span if-docs="dart">
536-
that creates a new instance of the
537-
[Provider](../api/core/index/Provider-class.html) class:
538-
</span>
539534

540535
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-3')
541536

public/docs/ts/latest/guide/template-syntax.jade

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,6 @@ table
492492
[viewChild](../api/core/index/ViewChild-var.html) and
493493
[contentChild](../api/core/index/ContentChild-var.html).
494494

495-
// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../
496-
497495
:marked
498496
### Binding target
499497
An element property between enclosing square brackets identifies the target property. The target property in the following code is the image element’s `src` property.

0 commit comments

Comments
 (0)