Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #96 from digitaldeployment/master
Browse files Browse the repository at this point in the history
Change to evalAsync
  • Loading branch information
PowerKiKi committed Jan 29, 2015
2 parents 051f34a + 4ce0309 commit a69d597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui-ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down

0 comments on commit a69d597

Please sign in to comment.