cordovacoffeescriptbatman.js

Is it possible to use Batman.js with cordova?


I can't get it to work, and I think it is due to

Unfortunately, due to awesome browser security things, you can't run index.html directly from the directory. You can use literally any server mechanism as long as you're running the app from behind localhost.

in the README, on the example app.

Is there any way to overcome this? Any workaround?


Solution

  • I've not tried it, but I think is possible. There are some "proof-of-concept" repos out there:

    Feel free to hop in #batmanjs on freenode as you're learning!