From 0563a0a636b1b586e3f31e2741cb27f9c4959b5b Mon Sep 17 00:00:00 2001 From: Shahar Talmi Date: Fri, 12 Sep 2014 01:59:34 +0300 Subject: [PATCH] refactor(formController): remove redundant methods from nullFormCtrl --- src/ng/directive/form.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index a89c0e46e4eb..3f2a7a642191 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -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';