Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 279f98c

Browse files
takashipetebacondarwin
authored andcommitted
docs(ngModelController): fix indentation code block
Closes #6660
1 parent 5e548ed commit 279f98c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/ng/directive/input.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -898,14 +898,14 @@ var VALID_CLASS = 'ng-valid',
898898
* @property {Array.<Function>} $formatters Array of functions to execute, as a pipeline, whenever
899899
the model value changes. Each function is called, in turn, passing the value through to the
900900
next. Used to format / convert values for display in the control and validation.
901-
* ```js
902-
* function formatter(value) {
903-
* if (value) {
904-
* return value.toUpperCase();
905-
* }
906-
* }
907-
* ngModel.$formatters.push(formatter);
908-
* ```
901+
* ```js
902+
* function formatter(value) {
903+
* if (value) {
904+
* return value.toUpperCase();
905+
* }
906+
* }
907+
* ngModel.$formatters.push(formatter);
908+
* ```
909909
*
910910
* @property {Array.<Function>} $viewChangeListeners Array of functions to execute whenever the
911911
* view value has changed. It is called with no arguments, and its return value is ignored.

0 commit comments

Comments
 (0)