From efa0c137f1e6392d48bc4400ff553d6543cc3d40 Mon Sep 17 00:00:00 2001 From: Carlos Arrastia Date: Sat, 6 Sep 2014 23:09:03 +0200 Subject: [PATCH] Removed redundant this.$validators initialisation in NgModelController --- src/ng/directive/input.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 6328420f460d..542506f0fc49 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -1629,7 +1629,6 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ this.$modelValue = Number.NaN; this.$validators = {}; this.$asyncValidators = {}; - this.$validators = {}; this.$parsers = []; this.$formatters = []; this.$viewChangeListeners = [];