diff options
Diffstat (limited to 'src/ng/directive/input.js')
| -rw-r--r-- | src/ng/directive/input.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 27813a46..3c09c084 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -1022,6 +1022,9 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * You can override this for input directives whose concept of being empty is different to the * default. The `checkboxInputType` directive does this because in its case a value of `false` * implies empty. + * + * @param {*} value Reference to check. + * @returns {boolean} True if `value` is empty. */ this.$isEmpty = function(value) { return isUndefined(value) || value === '' || value === null || value !== value; |
