aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/input.js
diff options
context:
space:
mode:
authorIgor Minar2013-07-10 12:42:50 -0700
committerIgor Minar2013-07-10 12:54:49 -0700
commit87aeb78c0ef7540f8a86957b57de66ef7b24698e (patch)
treecda6950477190bb7d9cea73cadfa084337138b8b /src/ng/directive/input.js
parent8a3e3f9eb309b99f1a78765d45bc0dd2ce6844c0 (diff)
downloadangular.js-87aeb78c0ef7540f8a86957b57de66ef7b24698e.tar.bz2
style(input): remove ws
Diffstat (limited to 'src/ng/directive/input.js')
-rw-r--r--src/ng/directive/input.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 5fb0fb14..c2ff3664 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -475,8 +475,8 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
var patternObj = scope.$eval(pattern);
if (!patternObj || !patternObj.test) {
- throw minErr('ngPattern')('noregexp',
- 'Expected {0} to be a RegExp but was {1}. Element: {2}', pattern,
+ throw minErr('ngPattern')('noregexp',
+ 'Expected {0} to be a RegExp but was {1}. Element: {2}', pattern,
patternObj, startingTag(element));
}
return validate(patternObj, value);
@@ -846,7 +846,7 @@ var VALID_CLASS = 'ng-valid',
* Note that you cannot use `NgModelController` in a directive with an isolated scope,
* as, in that case, the `ng-model` value gets put into the isolated scope and does not get
* propogated to the parent scope.
- *
+ *
*
* This example shows how to use `NgModelController` with a custom control to achieve
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
@@ -940,7 +940,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
ngModelSet = ngModelGet.assign;
if (!ngModelSet) {
- throw minErr('ngModel')('noass', "Expression '{0}' is non-assignable. Element: {1}",
+ throw minErr('ngModel')('noass', "Expression '{0}' is non-assignable. Element: {1}",
$attr.ngModel, startingTag($element));
}
@@ -1119,7 +1119,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
* - keeping state of the control (valid/invalid, dirty/pristine, validation errors),
* - setting related css class onto the element (`ng-valid`, `ng-invalid`, `ng-dirty`, `ng-pristine`),
* - register the control with parent {@link ng.directive:form form}.
- *
+ *
* Note: `ngModel` will try to bind to the property given by evaluating the expression on the
* current scope. If the property doesn't already exist on this scope, it will be created
* implicitly and added to the scope.