jeromeetienne / virtualjoystick.js

a virtual joystick library to emulate a joystick on touch screen in javascript
http://jeromeetienne.github.com/virtualjoystick.js/examples/basic.html
MIT License
419 stars 125 forks source link

_virtualjoystick2 not a constructor #43

Closed shujathkhan closed 3 years ago

shujathkhan commented 5 years ago

Hi jerome,

Awesome library!

When I am including it as an external js file in my reactjs app, it throws the above error. _virtualjoystck2 constructor not found. Even though in my entire workspace there is no term mentioning virtualjoystick2. It works fine independently but hits a dead-end in reactjs. I am trying to figure out what exactly is the issue for a long time. Please help!