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

Commit 56ac24b

Browse files
authored
chore: fix broken links on 9/30, mostly API links (#2520)
1 parent 9b08396 commit 56ac24b

27 files changed

+43
-113
lines changed

firebase.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"rewrites": [
55
{
66
"source": "/docs/dart/latest/testing",
7-
"destination": "/docs/dart/latest/index.html"
7+
"destination":"/docs/dart/latest/guide/testing.html"
88
},
99
{
1010
"source": "/docs/dart/latest/tutorial",
1111
"destination": "/docs/dart/latest/index.html"
1212
},
1313
{
1414
"source": "/docs/js/latest/testing",
15-
"destination": "/docs/js/latest/index.html"
15+
"destination": "/docs/js/latest/guide/testing.html"
1616
},
1717
{
1818
"source": "/docs/js/latest/tutorial",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ../../../_includes/_ts-temp
1+
include ../../../_includes/_ts-temp

public/docs/dart/latest/testing/_data.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

public/docs/dart/latest/testing/application-under-test.jade

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/docs/dart/latest/testing/first-app-tests.jade

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/docs/dart/latest/testing/index.jade

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/docs/dart/latest/testing/jasmine-testing-101.jade

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/docs/dart/latest/testing/testing-an-angular-pipe.jade

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/docs/js/latest/cookbook/ts-to-js.jade

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ table(width="100%")
252252
for components and directives.
253253

254254
For [inputs and outputs](../guide/template-syntax.html#inputs-outputs),
255-
we use [`@Input`](../api/core/index/Input-var.html)
256-
and [`@Output`](../api/core/index/Output-var.html) property decorators.
255+
we use `@Input` and `@Output` property decorators.
257256
They may optionally specify input and output binding names if we want them to be
258257
different from the class property names.
259258

@@ -351,10 +350,10 @@ table(width="100%")
351350

352351
We can attach additional decorators to constructor parameters
353352
to qualify the injection behavior. We can mark
354-
optional dependencies with the [`@Optional`](../api/core/index/Optional-var.html),
355-
inject host element attributes with [`@Attribute`](../api/core/index/Attribute-var.html),
356-
inject content child queries with [`@Query`](../api/core/index/Query-var.html)
357-
and inject view child queries with [`@ViewQuery`](../api/core/index/ViewQuery-var.html)).
353+
optional dependencies with the [`@Optional`](../api/core/index/Optional-decorator.html),
354+
inject host element attributes with [`@Attribute`](../api/core/index/Attribute-interface.html),
355+
inject content child queries with [`@ContentChild`](../api/core/index/ContentChild-decorator.html)
356+
and inject view child queries with [`@ViewChild`](../api/core/index/ViewChild-decorator.html)).
358357

359358
+makeExample('cb-ts-to-js/ts/app/hero-di-inject-additional.component.ts')(format="." )
360359

@@ -373,8 +372,8 @@ table(width="100%")
373372

374373
:marked
375374
We can apply other additional parameter decorators such as
376-
[`@Host`](../api/core/index/Host-var.html) and
377-
[`@SkipSelf`](../api/core/index/SkipSelf-var.html) in the same way -
375+
[`@Host`](../api/core/index/Host-decorator.html) and
376+
[`@SkipSelf`](../api/core/index/SkipSelf-decorator.html) in the same way -
378377
by adding `new ng.core.Host()` or `ng.core.SkipSelf()` in the
379378
parameters array.
380379

@@ -398,9 +397,9 @@ table(width="100%")
398397
### Host Decorators
399398

400399
We can use host property decorators to bind a host element to a component or directive.
401-
The [`@HostBinding`](../api/core/index/HostBinding-var.html) decorator
400+
The [`@HostBinding`](../api/core/index/HostBinding-interface.html) decorator
402401
binds host element properties to component data properties.
403-
The [`@HostListener`](../api/core/index/HostListener-var.html) decorator bimds
402+
The [`@HostListener`](../api/core/index/HostListener-interface.html) decorator bimds
404403
host element events to component event handlers.
405404

406405
+makeExample('cb-ts-to-js/ts/app/heroes-bindings.component.ts')(format="." )
@@ -432,16 +431,16 @@ table(width="100%")
432431
There are several property decorators for querying the descendants of
433432
a component or directive.
434433

435-
The [`@ViewChild`](../api/core/index/ViewChild-var.html) and
436-
[`@ViewChildren`](../api/core/index/ViewChildren-var.html) property decorators
434+
The [`@ViewChild`](../api/core/index/ViewChild-decorator.html) and
435+
[`@ViewChildren`](../api/core/index/ViewChildren-decorator.html) property decorators
437436
allow a component to query instances of other components that are used in
438437
its view.
439438

440439
+makeExample('cb-ts-to-js/ts/app/heroes-queries.component.ts', 'view')(format="." )
441440

442441
:marked
443-
The [`@ContentChild`](../api/core/index/ContentChild-var.html) and
444-
[`@ContentChildren`](../api/core/index/ContentChildren-var.html) property decorators
442+
The [`@ContentChild`](../api/core/index/ContentChild-decorator.html) and
443+
[`@ContentChildren`](../api/core/index/ContentChildren-decorator.html) property decorators
445444
allow a component to query instances of other components that have been projected
446445
into its view from elsewhere.
447446

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ figure.image-display
485485
.l-sub-section
486486
:marked
487487
Why "ngModel"?
488-
A directive's [exportAs](../api/core/index/DirectiveMetadata-class.html#!#exportAs) property
488+
A directive's [exportAs](../api/core/index/Directive-decorator.html) property
489489
tells Angular how to link the reference variable to the directive.
490490
We set `name` to `ngModel` because the `ngModel` directive's `exportAs` property happens to be "ngModel".
491491

@@ -497,7 +497,7 @@ figure.image-display
497497
:marked
498498
### The NgForm directive
499499
We just set a template local variable with the value of an `NgForm` directive.
500-
Why did that work? We didn't add the **[`NgForm`](../api/common/index/NgForm-directive.html) directive** explicitly.
500+
Why did that work? We didn't add the **[`NgForm`](../api/forms/index/NgForm-directive.html) directive** explicitly.
501501

502502
Angular added it surreptitiously, wrapping it around the `<form>` element
503503

0 commit comments

Comments
 (0)