I am using sketch.js by intridea in a phonegap application. It works in full accordance with the modification
case 'touchstart': if (this.painting) {//add this.stopPainting(); //add }//add this.startPainting(); break;
adding the above lines to the code. But I get a pageX undefined error that crashes my application.
01-23 19:53:59.342: E/Web Console(31932): Uncaught TypeError: Cannot read property 'pageX' of undefined at file:
How to overcome this problem, any help would be appreciated. thanks
javascript jquery html5-canvas cordova
Sumodh nair
source share