Maybe someone else can explain how this works.
1 of 1 people found this helpful
Thank you for your reply. I'll paste those files into my rhoelements project and see if it works. I wonder if there is a rake task that will properly add this extension into my app?
When you add
to build.yml it will automatically inject the JS file into the folder public/js at build time. You just need to make sure you have the file reference inside the layout.erb
There's something more: I'm not planning to use erb views in my rhoelements app, since we are porting a pure HTML5 Phonegap app (we want to reuse as much code as possible without making many changes).
HTML files are local and included in the Rho Application. Thank you for your help!