Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(closure): add missing FormController extern definitions
Browse files Browse the repository at this point in the history
Closes #5303
  • Loading branch information
nairb774 authored and IgorMinar committed Dec 13, 2013
1 parent a0ed371 commit 1d5e18b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions closure/angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,11 @@ angular.NgModelController.prototype.$viewValue;
*/
angular.FormController = function() {};

/**
* @param {*} control
*/
angular.FormController.prototype.$addControl = function(control) {};

/**
* @type {boolean}
*/
Expand All @@ -1456,11 +1461,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}
*/
Expand Down

0 comments on commit 1d5e18b

Please sign in to comment.