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 <[email protected]>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 > <[email protected]> > -- Carlos Santana <[email protected]>
