Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Commit c26d23c

Browse files
kevmooferhatb
authored andcommitted
Remove the top-level fields
No one should be using them anyway Those that were internally have been migrated ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=149768787
1 parent a0bf5e8 commit c26d23c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

lib/src/common/forms/model.dart

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,6 @@ import "package:angular2/src/facade/async.dart" show EventEmitter;
44

55
import "directives/validators.dart" show ValidatorFn, AsyncValidatorFn;
66

7-
/// Indicates that a Control is valid, i.e. that no errors exist in the input
8-
/// value.
9-
@Deprecated('Use AbstractControl.VALID instead.')
10-
const VALID = AbstractControl.VALID;
11-
12-
/// Indicates that a Control is invalid, i.e. that an error exists in the input
13-
/// value.
14-
@Deprecated('Use AbstractControl.INVALID instead.')
15-
const INVALID = AbstractControl.INVALID;
16-
17-
/// Indicates that a Control is pending, i.e. that async validation is occurring
18-
/// and errors are not yet available for the input value.
19-
@Deprecated('Use AbstractControl.VALID instead.')
20-
const PENDING = AbstractControl.PENDING;
21-
22-
bool isControl(Object control) => control is AbstractControl;
23-
247
AbstractControl _find(AbstractControl control,
258
dynamic /* List< dynamic /* String | num */ > | String */ path) {
269
if (path == null) return null;

0 commit comments

Comments
 (0)