Skip to content

Commit 507d508

Browse files
committed
Update links.
1 parent dd2640c commit 507d508

File tree

10 files changed

+26
-27
lines changed

10 files changed

+26
-27
lines changed

ngcompiler/lib/v1/src/compiler/template_parser/ast_template_parser.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,8 +1190,7 @@ String _getEventName(ast.EventAst event) =>
11901190

11911191
/// Visitor which filters elements that are not supported in angular templates.
11921192
class _ElementFilter extends ast.RecursiveTemplateAstVisitor<void> {
1193-
static const _securityUrl =
1194-
'https://webdev.dartlang.org/angular/guide/security';
1193+
static const _securityUrl = 'https://angulardart.xyz/guide/security';
11951194

11961195
@override
11971196
ast.ElementAst? visitElement(ast.ElementAst astNode, [_]) {

ngdart/lib/angular.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/// * [AngularDart guide][]
1212
/// * [AngularDart cheat sheet][cheatsheet]
1313
///
14-
/// [AngularDart]: https://webdev.dartlang.org/angular
15-
/// [AngularDart guide]: https://webdev.dartlang.org/angular/guide
16-
/// [cheatsheet]: https://webdev.dartlang.org/angular/cheatsheet
14+
/// [AngularDart]: https://angulardart.xyz
15+
/// [AngularDart guide]: https://angulardart.xyz/guide
16+
/// [cheatsheet]: https://angulardart.xyz/cheatsheet
1717
1818
library;
1919

ngdart/lib/src/common/directives/ng_class.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ import 'package:ngdart/src/utilities.dart';
4646
/// For details, see the [`ngClass` discussion in the Template Syntax][guide]
4747
/// page.
4848
///
49-
/// [ex]: https://angulardart.dev/examples/template-syntax#ngClass
50-
/// [guide]: https://webdev.dartlang.org/angular/guide/template-syntax.html#ngClass
49+
/// [ex]: https://angulardart.xyz/examples/template-syntax#ngClass
50+
/// [guide]: https://angulardart.xyz/guide/template-syntax.html#ngClass
5151
@Directive(
5252
selector: '[ngClass]',
5353
)

ngdart/lib/src/common/directives/ng_for.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ import '../../core/linker.dart';
8181
/// For details, see the [`ngFor` discussion in the Template Syntax][guide]
8282
/// page.
8383
///
84-
/// [guide]: https://webdev.dartlang.org/angular/guide/template-syntax.html#ngFor
84+
/// [guide]: https://angulardart.xyz/guide/template-syntax.html#ngFor
8585
@Directive(
8686
selector: '[ngFor][ngForOf]',
8787
)

ngdart/lib/src/common/directives/ng_if.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import 'package:ngdart/src/runtime/check_binding.dart';
2626
/// </template>
2727
/// ```
2828
///
29-
/// [guide]: https://webdev.dartlang.org/angular/guide/template-syntax.html#ngIf
29+
/// [guide]: https://angulardart.xyz/guide/template-syntax.html#ngIf
3030
@Directive(
3131
selector: '[ngIf]',
3232
)

ngdart/lib/src/common/directives/ng_style.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ import '../../core/change_detection/differs/default_keyvalue_differ.dart';
5252
/// A better practice, however, is to bind to a component field or method, as
5353
/// in the binding to `setStyle()` above.
5454
///
55-
/// [guide]: https://webdev.dartlang.org/angular/guide/template-syntax.html#ngStyle
56-
/// [ex]: https://angulardart.dev/examples/template-syntax#ngStyle
55+
/// [guide]: https://angulardart.xyz/guide/template-syntax.html#ngStyle
56+
/// [ex]: https://angulardart.xyz/examples/template-syntax#ngStyle
5757
@Directive(
5858
selector: '[ngStyle]',
5959
)

ngdart/lib/src/common/directives/ng_switch.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ class SwitchView {
6969
/// Try the [live example][ex].
7070
/// For details, see the [Structural Directives section on `ngSwitch`][guide].
7171
///
72-
/// [ex]: https://angulardart.dev/examples/template-syntax#ngSwitch
73-
/// [guide]: https://webdev.dartlang.org/angular/guide/structural-directives.html#ngSwitch
72+
/// [ex]: https://angulardart.xyz/examples/template-syntax#ngSwitch
73+
/// [guide]: https://angulardart.xyz/guide/structural-directives.html#ngSwitch
7474
///
7575
@Directive(
7676
selector: '[ngSwitch]',

ngdart/lib/src/meta/directives.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import 'visibility.dart';
3232
///
3333
/// See also:
3434
///
35-
/// * [Attribute Directives](https://webdev.dartlang.org/angular/guide/attribute-directives)
36-
/// * [Lifecycle Hooks](https://webdev.dartlang.org/angular/guide/lifecycle-hooks)
35+
/// * [Attribute Directives](https://angulardart.xyz/guide/attribute-directives)
36+
/// * [Lifecycle Hooks](https://angulardart.xyz/guide/lifecycle-hooks)
3737
///
3838
@Target({TargetKind.classType})
3939
class Directive {
@@ -146,7 +146,7 @@ class Directive {
146146
/// the callbacks are called by the change detection at defined points in time
147147
/// during the life of the component.
148148
///
149-
/// [LCH]: https://webdev.dartlang.org/angular/guide/lifecycle-hooks
149+
/// [LCH]: https://angulardart.xyz/guide/lifecycle-hooks
150150
@Target({TargetKind.classType})
151151
class Component extends Directive {
152152
/// Defines the used change detection strategy.

ngdart/lib/src/meta/lifecycle_hooks.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ abstract class DoCheck {
182182
/// }
183183
/// ```
184184
///
185-
/// [docs]: https://webdev.dartlang.org/angular/guide/lifecycle-hooks.html#aftercontent
186-
/// [ex]: https://webdev.dartlang.org/examples/lifecycle-hooks#after-content
185+
/// [docs]: https://angulardart.xyz/guide/lifecycle-hooks.html#aftercontent
186+
/// [ex]: https://angulardart.xyz/examples/lifecycle-hooks#after-content
187187
abstract class AfterContentInit {
188188
void ngAfterContentInit();
189189
}
@@ -238,8 +238,8 @@ abstract class AfterContentInit {
238238
/// }
239239
/// ```
240240
///
241-
/// [docs]: https://webdev.dartlang.org/angular/guide/lifecycle-hooks.html#aftercontent
242-
/// [ex]: https://webdev.dartlang.org/examples/lifecycle-hooks#after-content
241+
/// [docs]: https://angulardart.xyz/guide/lifecycle-hooks.html#aftercontent
242+
/// [ex]: https://angulardart.xyz/examples/lifecycle-hooks#after-content
243243
abstract class AfterContentChecked {
244244
void ngAfterContentChecked();
245245
}
@@ -291,8 +291,8 @@ abstract class AfterContentChecked {
291291
/// }
292292
/// ```
293293
///
294-
/// [docs]: https://webdev.dartlang.org/angular/guide/lifecycle-hooks.html#afterview
295-
/// [ex]: https://webdev.dartlang.org/examples/lifecycle-hooks#after-view
294+
/// [docs]: https://angulardart.xyz/guide/lifecycle-hooks.html#afterview
295+
/// [ex]: https://angulardart.xyz/examples/lifecycle-hooks#after-view
296296
abstract class AfterViewInit {
297297
void ngAfterViewInit();
298298
}
@@ -344,8 +344,8 @@ abstract class AfterViewInit {
344344
/// }
345345
/// ```
346346
///
347-
/// [docs]: https://webdev.dartlang.org/angular/guide/lifecycle-hooks.html#afterview
348-
/// [ex]: https://webdev.dartlang.org/examples/lifecycle-hooks#after-view
347+
/// [docs]: https://angulardart.xyz/guide/lifecycle-hooks.html#afterview
348+
/// [ex]: https://angulardart.xyz/examples/lifecycle-hooks#after-view
349349
abstract class AfterViewChecked {
350350
void ngAfterViewChecked();
351351
}

ngforms/lib/src/directives/ng_model.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import 'shared.dart' show setUpControl;
2525
///
2626
/// Learn more about `ngModel` in the [Forms][] and [Template Syntax][TS] pages.
2727
///
28-
/// [Forms]: https://angulardart.dev/angular/guide/forms#ngModel
29-
/// [TS]: https://angulardart.dev/angular/guide/template-syntax#ngModel
28+
/// [Forms]: https://angulardart.xyz/angular/guide/forms#ngModel
29+
/// [TS]: https://angulardart.xyz/angular/guide/template-syntax#ngModel
3030
///
3131
/// ### Examples
3232
///
@@ -46,7 +46,7 @@ import 'shared.dart' show setUpControl;
4646
///
4747
/// Try the [live example][ex].
4848
///
49-
/// [ex]: https://angulardart.dev/examples/template-syntax/#ngModel
49+
/// [ex]: https://angulardart.xyz/examples/template-syntax/#ngModel
5050
@Directive(
5151
selector: '[ngModel]:not([ngControl]):not([ngFormControl])',
5252
providers: [

0 commit comments

Comments
 (0)