Skip to content

Commit

Permalink
fix(closure): add missing FormController extern definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
nairb774 authored and jamesdaily committed Jan 27, 2014
1 parent 50731cc commit 72bea42
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 72bea42

Please sign in to comment.