noypi / npWidgets

angularjs widgets
0 stars 0 forks source link

console error, missing function #1

Closed raymond301 closed 8 years ago

raymond301 commented 9 years ago

Trying to use: np-img-enlarger.min.js I followed the setup steps, base image appears, but not the enlargement.

Uncaught TypeError: b.$applyAsync is not a function

I think I figured this out. I'm using : AngularJS v1.2.16 You are using : v1.3.0 $applyAsync doesn't work. But if I change the method to $eval, I can retain the same functionality in an older version of Angular.

Perhaps you can just make a note about version compatibility on your website tutorial.

noypi commented 8 years ago

Thanks.