aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/input.js
diff options
context:
space:
mode:
authorIgor Minar2012-04-10 14:29:49 -0700
committerIgor Minar2012-04-10 16:52:12 -0700
commit52ee1ab5eb0f3197453b26c60a70239ac3fffea7 (patch)
tree2c4dc57ec34d4fbc08248d72daf403bc36421f46 /src/ng/directive/input.js
parentfcc556df3745d4c7768e235cb5f1caf70eb34639 (diff)
downloadangular.js-52ee1ab5eb0f3197453b26c60a70239ac3fffea7.tar.bz2
chore(*): remove dead code and fix code style issues
Diffstat (limited to 'src/ng/directive/input.js')
-rw-r--r--src/ng/directive/input.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 6366f901..250a4520 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -477,7 +477,7 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
ctrl.$parsers.push(maxLengthValidator);
ctrl.$formatters.push(maxLengthValidator);
}
-};
+}
function numberInputType(scope, element, attr, ctrl, $sniffer, $browser) {
textInputType(scope, element, attr, ctrl, $sniffer, $browser);
@@ -584,7 +584,7 @@ function radioInputType(scope, element, attr, ctrl) {
scope.$apply(function() {
ctrl.$setViewValue(attr.value);
});
- };
+ }
});
ctrl.$render = function() {
@@ -840,7 +840,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', 'ngModel', '$e
this.$invalid = false;
}
} else {
- toggleValidCss(false)
+ toggleValidCss(false);
this.$invalid = true;
this.$valid = false;
invalidCount++;