You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Carlos Santana <cs...@gmail.com> on 2013/09/28 01:36:15 UTC

What's the story with cordova.blackberry10.js in 3.1.x?

I was trying to test BB10 and got very confuse with the state of cordova.js
in cordova-blackerry

The version of cordova.js in (BB10 3.1.x & 3.1.0-rc1) is from cordova-js 3.0

https://github.com/apache/cordova-blackberry/blob/3.1.x/blackberry10/javascript/cordova.blackberry10.js

var CORDOVA_JS_BUILD_LABEL = '3.0.0-0-ge670de9';

I'm looking at this piece as a suspect:

-document.addEventListener("DOMContentLoaded", function () {
-    document.addEventListener("webworksready", function () {
-        require('cordova/channel').onNativeReady.fire();
-    });
-});

Isn't coho:updateJsSnapshot suppose to make sure that the correct version
of cordova.js is in the platform repo?

-- 
Carlos Santana
<cs...@gmail.com>

Re: What's the story with cordova.blackberry10.js in 3.1.x?

Posted by Carlos Santana <cs...@gmail.com>.
nevermind I figure it out and have a pull request

https://github.com/apache/cordova-js/pull/51

--Carlos


On Fri, Sep 27, 2013 at 7:36 PM, Carlos Santana <cs...@gmail.com>wrote:

> I was trying to test BB10 and got very confuse with the state of
> cordova.js in cordova-blackerry
>
> The version of cordova.js in (BB10 3.1.x & 3.1.0-rc1) is from cordova-js
> 3.0
>
>
> https://github.com/apache/cordova-blackberry/blob/3.1.x/blackberry10/javascript/cordova.blackberry10.js
>
> var CORDOVA_JS_BUILD_LABEL = '3.0.0-0-ge670de9';
>
> I'm looking at this piece as a suspect:
>
> -document.addEventListener("DOMContentLoaded", function () {
> -    document.addEventListener("webworksready", function () {
> -        require('cordova/channel').onNativeReady.fire();
> -    });
> -});
>
> Isn't coho:updateJsSnapshot suppose to make sure that the correct version
> of cordova.js is in the platform repo?
>
> --
> Carlos Santana
> <cs...@gmail.com>
>



-- 
Carlos Santana
<cs...@gmail.com>