cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gord Tanner <gtan...@gmail.com>
Subject Re: Determining if "you're in cordova"
Date Fri, 30 Nov 2012 23:45:17 GMT
My gut told me _nativeReady but I don't think that is cross platform.

I think we should work harder at making Cordova.js be a noop when in a standard browser which
shouldn't be to hard.

Sent from my iPhone

On 2012-11-30, at 6:38 PM, Filip Maj <fil@adobe.com> wrote:

> I think in BB WEbWorks you get http://localhost/somethingsoemthing
> 
> On 11/30/12 3:35 PM, "Shazron" <shazron@gmail.com> wrote:
> 
>> "how do we know if we're in cordova or not?" --> document.location starts
>> with file:// ?
> 

Mime
View raw message