cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <>
Subject Re: One cordova.js to rule them all...
Date Fri, 12 Jul 2013 23:08:17 GMT
And then what? Selecting `exec` method based on user agent string?

On 7/12/13 3:56 PM, "Brian LeRoux" <> wrote:

>Yes, but it could all live in one file eh. Should be pretty slim w/o
>all that other plugin junk. Think Gord might've done a prototype w/
>On Fri, Jul 12, 2013 at 3:39 PM, Filip Maj <> wrote:
>> The core webview <=> native bridge method (exec) will always be
>> per-platform. Unless we move that method from cordova-js and into
>> cordova-platform repositories, cordova-js will always need changes
>> platforms.
>> On 7/12/13 3:30 PM, "Brian LeRoux" <> wrote:
>>>Hey John, that is indeed the plan! First step was 'plugin breakout
>>>release' aka PBR which we have mostly now achieved. The cordova.js
>>>file is still generated for each platform but the surface for
>>>differences is now isolated to individual plugin repos rather than in
>>>the ball of mud that we sling into each platform build.
>>>So, I think this should be an early priority in the 3.x series once
>>>the dust from 3.0 settles and any bugs shake out.
>>>(But thats just me. We need to figure out that consensus as a group.)
>>>On Fri, Jul 12, 2013 at 3:19 PM, Wargo, John <> wrote:
>>>> I heard a while back that there was an initiative around having a
>>>>single cordova.js file (instead of the platform-specific versions we
>>>>have today). Understanding that splitting the APIs out into separate
>>>>plugins was the first step for this, is this something that will be
>>>>happening soon? I thought perhaps it would be a 3.0 thing, but I
>>>>everyone's been so busy with the plugins.
>>>> Is this something in the plan?  If so, when do you see this happening?
>>>> John M. Wargo
>>>> Twitter: @johnwargo

View raw message