angular-dynamic-locale icon indicating copy to clipboard operation
angular-dynamic-locale copied to clipboard

Error "$rootScope.$applyAsync is not a function" with Angular.js 1.2.13

Open Weasle opened this issue 10 years ago • 7 comments

With the latest release 0.1.29, the error "$rootScope.$applyAsync is not a function" is thrown when having "angular-dynamic-locale" as a dependency, at least for projects based on Angular.js 1.2.13. Newer versions of angular do not seem to cause the same issue.

Weasle avatar Nov 26 '15 14:11 Weasle

Hi, sorry, it look like this api was added in angular 1.3. Will update the docs as 1.2 users will have to use version 0.1.28 or earlier. Thanks for reporting this!

On Thursday, November 26, 2015, Florian Sonnenburg [email protected] wrote:

With the latest release 0.1.29, the error "$rootScope.$applyAsync is not a function" is thrown when having "angular-dynamic-locale" as a dependency, at least for projects based on Angular.js 1.2.13. Newer versions of angular do not seam to show the same issue.e

— Reply to this email directly or view it on GitHub https://github.com/lgalfaso/angular-dynamic-locale/issues/82.

lgalfaso avatar Nov 26 '15 15:11 lgalfaso

$applyAsync is for angular >= 1.3. Do you really need to use it, or It could be replaced with $evalAsync / $apply? Everyone running angular < 1.3 will have the same issue.

enrico-padovani avatar Feb 03 '16 13:02 enrico-padovani

+1

ntvsx193 avatar Apr 05 '16 15:04 ntvsx193

+1

fizerkhan avatar Jan 05 '17 10:01 fizerkhan

+1

vinilanzoni avatar Apr 07 '17 19:04 vinilanzoni

+1

hushengxin avatar Jun 19 '17 10:06 hushengxin

+1

ChoOo7 avatar Jul 06 '17 11:07 ChoOo7