Skip to content

Commit 0563a0a

Browse files
shahatabtford
authored andcommitted
refactor(formController): remove redundant methods from nullFormCtrl
1 parent f4ff11b commit 0563a0a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ng/directive/form.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ var nullFormCtrl = {
77
$$renameControl: nullFormRenameControl,
88
$removeControl: noop,
99
$setValidity: noop,
10-
$$setPending: noop,
1110
$setDirty: noop,
1211
$setPristine: noop,
13-
$setSubmitted: noop,
14-
$$clearControlValidity: noop
12+
$setSubmitted: noop
1513
},
1614
SUBMITTED_CLASS = 'ng-submitted';
1715

0 commit comments

Comments
 (0)