From db19c0c042fcb918dfe76cd92a0af7e145cca842 Mon Sep 17 00:00:00 2001 From: Stephen Kraushaar Date: Wed, 18 Nov 2015 13:01:15 -0600 Subject: [PATCH] Unnecessary input value update Removing lines because they completely confuse the examples. --- docs/content/guide/migration.ngdoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/content/guide/migration.ngdoc b/docs/content/guide/migration.ngdoc index 85192d6ec4b5..a9bb81b0812d 100644 --- a/docs/content/guide/migration.ngdoc +++ b/docs/content/guide/migration.ngdoc @@ -262,7 +262,6 @@ Before: $scope.resetWithCancel = function (e) { if (e.keyCode == 27) { $scope.myForm.myInput1.$cancelUpdate(); - $scope.myValue = ''; } }; ``` @@ -273,7 +272,6 @@ After: $scope.resetWithCancel = function (e) { if (e.keyCode == 27) { $scope.myForm.myInput1.$rollbackViewValue(); - $scope.myValue = ''; } } ```