You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Gord Tanner <go...@tinyhippos.com> on 2012/11/01 20:07:50 UTC
[DISCUSS] Combine all BlackBerry Platforms into one platform
Problem:
- currently BlackBerry has 3 different javascript files:
-- cordova.blackberry.js
-- cordova.playbook.js
-- cordova.qnx.js
This leads to some awkward buildtime magic and makes blackberry building in
cordova.js as well as during project creation / building special.
Solution:
Include all javascript into one file (cordova.blackberry.js) for each
subplatform and switch the loading at runtime for blackberry.
Pull Request here:
https://github.com/apache/incubator-cordova-js/pull/41
once this is in I will quickly merge in changes to cordova-blackberry that
clean up the hackery to support 3 different javascript files
Re: [DISCUSS] Combine all BlackBerry Platforms into one platform
Posted by Tim Kim <ti...@gmail.com>.
Sweet - nice work, Gord.
I think this will make the repo a lot cleaner and less confusing. I know
I've had some headaches by accidentally referencing the wrong js file.
On 1 November 2012 12:07, Gord Tanner <go...@tinyhippos.com> wrote:
> Problem:
>
> - currently BlackBerry has 3 different javascript files:
> -- cordova.blackberry.js
> -- cordova.playbook.js
> -- cordova.qnx.js
>
> This leads to some awkward buildtime magic and makes blackberry building in
> cordova.js as well as during project creation / building special.
>
> Solution:
>
> Include all javascript into one file (cordova.blackberry.js) for each
> subplatform and switch the loading at runtime for blackberry.
>
> Pull Request here:
>
> https://github.com/apache/incubator-cordova-js/pull/41
>
> once this is in I will quickly merge in changes to cordova-blackberry that
> clean up the hackery to support 3 different javascript files
>
--
Timothy Kim
Re: [DISCUSS] Combine all BlackBerry Platforms into one platform
Posted by Brian LeRoux <b...@brian.io>.
<3 it
can't wait for the future where all cordova.js is just exec fns (and
related ceremony) for each platform
On Thu, Nov 1, 2012 at 12:07 PM, Gord Tanner <go...@tinyhippos.com> wrote:
> Problem:
>
> - currently BlackBerry has 3 different javascript files:
> -- cordova.blackberry.js
> -- cordova.playbook.js
> -- cordova.qnx.js
>
> This leads to some awkward buildtime magic and makes blackberry building in
> cordova.js as well as during project creation / building special.
>
> Solution:
>
> Include all javascript into one file (cordova.blackberry.js) for each
> subplatform and switch the loading at runtime for blackberry.
>
> Pull Request here:
>
> https://github.com/apache/incubator-cordova-js/pull/41
>
> once this is in I will quickly merge in changes to cordova-blackberry that
> clean up the hackery to support 3 different javascript files
>
Re: [DISCUSS] Combine all BlackBerry Platforms into one platform
Posted by Gord Tanner <gt...@gmail.com>.
I did learn a lot doing this and it is very much a real option to build Cordova.js for all platforms.
That is a talk for another thread though
Sent from my iPhone
On 2012-11-01, at 5:21 PM, Filip Maj <fi...@adobe.com> wrote:
> Noice, +1
>
> On 11/1/12 12:07 PM, "Gord Tanner" <go...@tinyhippos.com> wrote:
>
>> Problem:
>>
>> - currently BlackBerry has 3 different javascript files:
>> -- cordova.blackberry.js
>> -- cordova.playbook.js
>> -- cordova.qnx.js
>>
>> This leads to some awkward buildtime magic and makes blackberry building
>> in
>> cordova.js as well as during project creation / building special.
>>
>> Solution:
>>
>> Include all javascript into one file (cordova.blackberry.js) for each
>> subplatform and switch the loading at runtime for blackberry.
>>
>> Pull Request here:
>>
>> https://github.com/apache/incubator-cordova-js/pull/41
>>
>> once this is in I will quickly merge in changes to cordova-blackberry that
>> clean up the hackery to support 3 different javascript files
>
Re: [DISCUSS] Combine all BlackBerry Platforms into one platform
Posted by Filip Maj <fi...@adobe.com>.
Noice, +1
On 11/1/12 12:07 PM, "Gord Tanner" <go...@tinyhippos.com> wrote:
>Problem:
>
>- currently BlackBerry has 3 different javascript files:
> -- cordova.blackberry.js
> -- cordova.playbook.js
> -- cordova.qnx.js
>
>This leads to some awkward buildtime magic and makes blackberry building
>in
>cordova.js as well as during project creation / building special.
>
>Solution:
>
>Include all javascript into one file (cordova.blackberry.js) for each
>subplatform and switch the loading at runtime for blackberry.
>
>Pull Request here:
>
>https://github.com/apache/incubator-cordova-js/pull/41
>
>once this is in I will quickly merge in changes to cordova-blackberry that
>clean up the hackery to support 3 different javascript files