diff options
| author | Brian Atkinson | 2013-12-05 19:30:21 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-12-13 00:14:31 -0800 |
| commit | 1d5e18b062c3e33b2a8d96aa58d905ed2cd48649 (patch) | |
| tree | 11c15109d81f59955a1b9db3cc5ce6aef325c511 /closure | |
| parent | a0ed3713899f0ec5f3e1b76ef48fc3acedabe1a5 (diff) | |
| download | angular.js-1d5e18b062c3e33b2a8d96aa58d905ed2cd48649.tar.bz2 | |
fix(closure): add missing FormController extern definitions
Closes #5303
Diffstat (limited to 'closure')
| -rw-r--r-- | closure/angular.js | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/closure/angular.js b/closure/angular.js index d39b2ab8..4b4d00b4 100644 --- a/closure/angular.js +++ b/closure/angular.js @@ -1442,6 +1442,11 @@ angular.NgModelController.prototype.$viewValue; angular.FormController = function() {}; /** + * @param {*} control + */ +angular.FormController.prototype.$addControl = function(control) {}; + +/** * @type {boolean} */ angular.FormController.prototype.$dirty; @@ -1457,11 +1462,39 @@ angular.FormController.prototype.$error; angular.FormController.prototype.$invalid; /** + * @type {string} + */ +angular.FormController.prototype.$name; + +/** * @type {boolean} */ angular.FormController.prototype.$pristine; /** + * @param {*} control + */ +angular.FormController.prototype.$removeControl = function(control) {}; + +/** + * @type {function()} + */ +angular.FormController.prototype.$setDirty = function() {}; + +/** + * @type {function()} + */ +angular.FormController.prototype.$setPristine = function() {}; + +/** + * @param {string} validationToken + * @param {boolean} isValid + * @param {*} control + */ +angular.FormController.prototype.$setValidity = function( + validationToken, isValid, control) {}; + +/** * @type {boolean} */ angular.FormController.prototype.$valid; |
