Skip to content

Commit

Permalink
refactor(formController): remove redundant methods from nullFormCtrl
Browse files Browse the repository at this point in the history
  • Loading branch information
shahata authored and btford committed Oct 8, 2014
1 parent f4ff11b commit 0563a0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ng/directive/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 0563a0a

Please sign in to comment.