mobile-angular-ui icon indicating copy to clipboard operation
mobile-angular-ui copied to clipboard

FastClick is not defined

Open ivanmobigis opened this issue 9 years ago • 2 comments

Hi there,

Since upgrading to version 1.2rc5 we are getting the following error: FastClick is not defined at: mobile-angular-ui.js:1166

I can see that the same JS works in the demo page, so i assume that this error is because we use requirejs to load the javascript, and the global var FastClick is not available.

Indeed, i can see that FastClick was a global var in the older version, and it isn't anymore.

Manually adding window.FastClick = FastClick;

to line 832 fixes this, but it could probably be done better using the define/require syntax.

cheers

-i

ivanmobigis avatar Aug 21 '15 09:08 ivanmobigis