single page application - Hot Towel with Cordova -


i'm trying configure hottowel application work apache cordova/phonegap.

i have copied index.cshtml index.html , replaced of bundle references html link tags.

the problem when page loads, attempts load app/views/shell.html , fails stating

cross origin requests supported http

this happening because running index.html on file protocol required in cordova application i'm not sure how fix cross origin request.

  1. is there way configure hot towel/durandal work without using http?

  2. has used hot towel cordova?

i think need deploy of supporting files (like shell.html) device well.

you can run durandal optimizer part of build process have deploy main-built.js , whole app contained within 1 file. in question how execute durandal js optimizer.exe part of vs2012 build/publish process?.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -