ui-ace icon indicating copy to clipboard operation
ui-ace copied to clipboard

$applyAsync() is only in Angular v1.3 and above.

Open gamebox opened this issue 11 years ago • 4 comments

I assume your intention was to continue supporting those of us lingering on the 1.1.x and 1.2.x branches, but unfortunately moving from $apply() to $applyAsync() has failed in that endeavor. I haven't read the conversation for why that move needed to be made, but the newer function is undefined on $scope in earlier branches and this causes erratic, breaking behavior.

gamebox avatar Jan 14 '15 01:01 gamebox

We actually just got bit by this as well, thankfully only on a staging instance of our code, but now blocking our push to production

jmartin4563 avatar Jan 14 '15 18:01 jmartin4563

Just as a note for other people suffering from this, downgrading to 0.1.1 fixes the issue. This is the offending commit: https://github.com/angular-ui/ui-ace/commit/0732ea769c99a2225e97d1d1dd27f46a19593950

jmartin4563 avatar Jan 14 '15 19:01 jmartin4563

Hum... Will it help if I make another angular-ui/[email protected] release with a fixed version dep to [email protected] ?

douglasduteil avatar Jan 14 '15 22:01 douglasduteil

@douglasduteil Probably. Just stay away form v1.3 stuff for now, or move that to a major release branch.

@jmartin4563 We did the same thing, was surprised to see a breaking change in a minor release, just changed the ~ in our bower dependencies

gamebox avatar Jan 16 '15 19:01 gamebox