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

docs(*): fix links to Dart API entries #2185

Merged
merged 2 commits into from
Aug 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions public/docs/dart/latest/guide/dependency-injection.jade
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ block real-logger
A real implementation would probably use the
[logging package](https://pub.dartlang.org/packages/logging).

block provider-shorthand
:marked
This is actually a shorthand expression for a provider registration
that creates a new instance of the
[Provider](../api/angular2.core/Provider-class.html) class:

block provider-ctor-args
- var _secondParam = 'named parameter, such as <code>useClass</code>'
:marked
Expand Down
2 changes: 1 addition & 1 deletion public/docs/dart/latest/guide/forms.jade
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ figure.image-display
Recall from the previous section that `ngControl` registered this input box with the
`NgForm` directive as "name".

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

The `NgForm` directive supplements the `<form>` element with additional features.
Expand Down
11 changes: 3 additions & 8 deletions public/docs/ts/_cache/guide/dependency-injection.jade
Original file line number Diff line number Diff line change
Expand Up @@ -527,15 +527,10 @@ code-example(format="nocode").

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

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

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

Expand Down
2 changes: 0 additions & 2 deletions public/docs/ts/_cache/guide/template-syntax.jade
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,6 @@ table
[viewChild](../api/core/index/ViewChild-var.html) and
[contentChild](../api/core/index/ContentChild-var.html).

// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../

:marked
### Binding target
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.
Expand Down
11 changes: 3 additions & 8 deletions public/docs/ts/latest/guide/dependency-injection.jade
Original file line number Diff line number Diff line change
Expand Up @@ -527,15 +527,10 @@ code-example(format="nocode").

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

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

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

Expand Down
2 changes: 0 additions & 2 deletions public/docs/ts/latest/guide/template-syntax.jade
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,6 @@ table
[viewChild](../api/core/index/ViewChild-var.html) and
[contentChild](../api/core/index/ContentChild-var.html).

// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../

:marked
### Binding target
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.
Expand Down