aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets.js b/src/widgets.js
index c1342943..90f6837d 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -38,7 +38,7 @@ function valueAccessor(scope, element) {
requiredExpr = element.attr('ng:required'),
formatterName = element.attr('ng:format') || NOOP,
formatter = angularFormatter(formatterName),
- format, parse, lastError, required;
+ format, parse, lastError, required,
invalidWidgets = scope.$invalidWidgets || {markValid:noop, markInvalid:noop};
if (!validator) throw "Validator named '" + validatorName + "' not found.";
if (!formatter) throw "Formatter named '" + formatterName + "' not found.";