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

Commit 3df4ee4

Browse files
Daniel Breengkalpak
Daniel Breen
authored andcommitted
docs(changelog): fix typos, change 'ctrk' to 'ctrl'
1 parent 258713a commit 3df4ee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ If you rely on the $modelValue validation, you can overwrite the `min`/`max` val
746746
link: function(scope, element, attrs, ctrl) {
747747
var maxValidator = ctrl.$validators.max;
748748

749-
ctrk.$validators.max = function(modelValue, viewValue) {
749+
ctrl.$validators.max = function(modelValue, viewValue) {
750750
return maxValidator(modelValue, modelValue);
751751
};
752752
}
@@ -1579,7 +1579,7 @@ If you rely on the $modelValue validation, you can overwrite the `min`/`max` val
15791579
link: function(scope, element, attrs, ctrl) {
15801580
var maxValidator = ctrl.$validators.max;
15811581

1582-
ctrk.$validators.max = function(modelValue, viewValue) {
1582+
ctrl.$validators.max = function(modelValue, viewValue) {
15831583
return maxValidator(modelValue, modelValue);
15841584
};
15851585
}

0 commit comments

Comments
 (0)