Skip to content

Commit dd2e553

Browse files
matskomhevery
authored andcommitted
chore(forms): cleanup unused code
Closes dart-archive#761
1 parent 9814303 commit dd2e553

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

lib/directive/ng_control.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ abstract class NgControl implements NgAttachAware, NgDetachAware {
1111
static const NG_SUBMIT_INVALID = "ng-submit-invalid";
1212

1313
String _name;
14-
bool _dirty;
15-
bool _touched;
16-
bool _valid;
1714
bool _submit_valid;
1815

1916
final NgControl _parentControl;

lib/directive/ng_form.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,6 @@ class NgForm extends NgControl {
5858
}
5959
}
6060

61-
//FIXME: fix this reflection bug that shows up when Map is implemented
62-
operator []=(String key, value) {
63-
if (key == 'name') {
64-
name = value;
65-
} else {
66-
_controlByName[key] = value;
67-
}
68-
}
69-
7061
get controls => _controlByName;
7162

7263
NgControl operator[](name) =>

0 commit comments

Comments
 (0)