From 52ee1ab5eb0f3197453b26c60a70239ac3fffea7 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 10 Apr 2012 14:29:49 -0700 Subject: chore(*): remove dead code and fix code style issues --- src/ng/directive/input.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ng/directive/input.js') 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++; -- cgit v1.2.3