cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Soref <jso...@blackberry.com>
Subject Re: Cordova --list option implementation
Date Fri, 09 Jan 2015 19:39:04 GMT
Murat Sutunc wrote:
>At the very least, if you're going to do option 1.b, please make sure that
>list is a function which is independently reachable via the api so that js
>callers can easily get the list of devices for platform[s], and can
>determine if the feature is available (by checking for the presence of the
>api function).
>
>[MS] Can you clarify this a bit more. Do you mean like
>require('./cordova').raw.list(/*args*/)

Something like this, yes, but it'd need to have some indication it's about
targets in the code portion (which here is just 'raw.list').

Mime
View raw message