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

Commit 3e7af89

Browse files
committed
docs(ngModel): fix typo and rephrase for simplicity
1 parent 194ed19 commit 3e7af89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/directive/ngModel.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,12 +446,12 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
446446
*
447447
* @description
448448
* Cancel an update and reset the input element's value to prevent an update to the `$modelValue`,
449-
* which may be caused by a pending debounced event or because the input is waiting for a some
449+
* which may be caused by a pending debounced event or because the input is waiting for some
450450
* future event.
451451
*
452452
* If you have an input that uses `ng-model-options` to set up debounced updates or updates that
453-
* depend on special events such as blur, you can have a situation where there is a period when
454-
* the `$viewValue` is out of sync with the ngModel's `$modelValue`.
453+
* depend on special events such as `blur`, there can be a period when the `$viewValue` is out of
454+
* sync with the ngModel's `$modelValue`.
455455
*
456456
* In this case, you can use `$rollbackViewValue()` to manually cancel the debounced / future update
457457
* and reset the input to the last committed view value.

0 commit comments

Comments
 (0)