refactor(formController): remove redundant methods from nullFormCtrl

This commit is contained in:
Shahar Talmi
2014-09-12 01:59:34 +03:00
committed by Brian Ford
parent f4ff11b01e
commit 0563a0a636

View File

@@ -7,11 +7,9 @@ var nullFormCtrl = {
$$renameControl: nullFormRenameControl,
$removeControl: noop,
$setValidity: noop,
$$setPending: noop,
$setDirty: noop,
$setPristine: noop,
$setSubmitted: noop,
$$clearControlValidity: noop
$setSubmitted: noop
},
SUBMITTED_CLASS = 'ng-submitted';