Re: starting point: manifests, configs, and the such

>> 
>> > 4. Apps being able to XHR to their own content has come up a lot (so
>> > jQuery mobile and other libs can be used more easily). Also, a lot of
>> > widget-like apps still use file://, which is bad because it breaks
>> > anything depending on an origin (e.g., localStorage).
>> > 
>> > Just wondering, what are you guys using in PhoneGap as your local
>>content
>> > URI scheme on the various platforms?
>> 
>> 
>> 
>> Relative URLs. So if you have an app running off index.html in your
>>widget
>> root, you can XHR to "partials/template_one.html" and get the right
>>local
>> content.
>
>Right, but those must "dereference" to something (i.e., in JS, what do
>you get back from "window.location.href" on each platform?). Is it
>file://? or content://?

Sorry I think I misunderstood you. It is the file:/// URI

Received on Friday, 25 November 2011 02:16:13 UTC