From 4ce0309c5de4e68c1a28643576d8f10ec93960e0 Mon Sep 17 00:00:00 2001 From: Benjamin Shell Date: Wed, 28 Jan 2015 14:35:10 -0800 Subject: [PATCH] Change to evalAsync --- src/ui-ace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui-ace.js b/src/ui-ace.js index 7087baf..a664fb1 100644 --- a/src/ui-ace.js +++ b/src/ui-ace.js @@ -229,7 +229,7 @@ angular.module('ui.ace', []) // digest loop 'cause ACE is actually using this callback // for any text transformation ! !scope.$$phase && !scope.$root.$$phase) { - scope.$applyAsync(function () { + scope.$evalAsync(function () { ngModel.$setViewValue(newValue); }); }