Skip to content

Commit 42e4f2a

Browse files
shahatabtford
authored andcommitted
refactor(formController): remove redundant methods from nullFormCtrl
1 parent 0d3b69a commit 42e4f2a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ng/directive/form.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ var nullFormCtrl = {
77
$$renameControl: nullFormRenameControl,
88
$removeControl: noop,
99
$setValidity: noop,
10-
$$setPending: noop,
1110
$setDirty: noop,
12-
$setPristine: noop,
13-
$setSubmitted: noop,
14-
$$clearControlValidity: noop
11+
$setSubmitted: noop
1512
},
1613
SUBMITTED_CLASS = 'ng-submitted';
1714

0 commit comments

Comments
 (0)