Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C9899A3F for ; Wed, 15 Feb 2012 17:13:56 +0000 (UTC) Received: (qmail 36833 invoked by uid 500); 15 Feb 2012 17:13:56 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 36806 invoked by uid 500); 15 Feb 2012 17:13:56 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 36798 invoked by uid 99); 15 Feb 2012 17:13:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 17:13:56 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.37 as permitted sender) Received: from [64.18.1.37] (HELO exprod6og116.obsmtp.com) (64.18.1.37) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 17:13:49 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob116.postini.com ([64.18.5.12]) with SMTP ID DSNKTzvnt7NmfV1XYgI5sFzKeQZWCdeszNQP@postini.com; Wed, 15 Feb 2012 09:13:28 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q1FHDQ2d021821 for ; Wed, 15 Feb 2012 09:13:26 -0800 (PST) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q1FHBcQD017276 for ; Wed, 15 Feb 2012 09:13:25 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Wed, 15 Feb 2012 09:13:20 -0800 From: Filip Maj To: "callback-dev@incubator.apache.org" Date: Wed, 15 Feb 2012 09:13:10 -0800 Subject: Re: Work Items for 1.5.0 - unified JS Thread-Topic: Work Items for 1.5.0 - unified JS Thread-Index: AczsBR1e8Ex//P2ZSmS9bqr4uG+oyA== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.14.0.111121 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Stoked guys, thanks for all your hard work! On 12-02-15 9:03 AM, "Gord Tanner" wrote: >OMFG! > >You just saved my day! > >I have been looking for why blackberry wasn't firing device ready and that >bad module ID was it! I was circling around the channel code attempting >to >figure out why it wasn't joining after the device and network channels >were >fired. > >Gonna look into this and pull it in, looks good at first glance. > > >Gord > >On Wed, Feb 15, 2012 at 11:53 AM, Drew Walters wrote: > >> Ok, I've submitted a pull request with my changes. >> >> https://github.com/callback/callback-js/pull/17 >> >> In my previous email, #3 was due to where I had inserted #2 (oops). >> The changes are mostly phonegap -> cordova changes. Additionally I >> had to fix a module require in lib/platform/blackberry.js which was >> specifying a bad module name. >> >> The only appearance of phonegap in common-js after my change is in the >> iOS and WP7 plugins where they reference native code since I didn't >> think those had been renamed yet. >> >> Eventually the BlackBerry native side should make use of require (as >> shown in Fil's commit), but that will wait till common-js gets added >> to apache source. For the time being a quick hack is to add the >> following at the bottom of the generated js: >> >> var Cordova =3D require('cordova'); >> >> On Wed, Feb 15, 2012 at 9:23 AM, Drew Walters >>wrote: >> > So I've got callback-js "working" in my sandbox. Haven't submitted >> > pull request yet because I'm still debugging something. Here's >> > summary of changes I've made: >> > >> > 1. Modify rest of files to use "cordova" instead of "phonegap". >> > 2. Added a global define of "Cordova" as a temporary hack since native >> > PluginResult.toSuccessCallbackString expects it to exist. >> > 3. For some reason I had to make sure the cordova/utils module exists >> > in cordova.js before the cordova/channel module, otherwise I was >> > getting an error that the module didn't exist. >> > >> > With the above changes I was able to run some simple tests (verified >> > network works). I'm currently looking at proper fix for #2 and #3. >> > >> > On Wed, Feb 15, 2012 at 8:21 AM, Drew Walters >> wrote: >> >> I'm looking at https://github.com/callback/callback-js and I see a >>lot >> >> of references to "phonegap" in the lib/plugins directory though it >> >> seems like things one directory up (lib) has been changed. Am I not >> >> looking at an up to date project or should I send a pull request with >> >> that name change too? >> >> >> >> On Wed, Feb 15, 2012 at 8:17 AM, Gord Tanner >> wrote: >> >>> I am on BlackBerry today. >> >>> >> >>> Currently showing: >> >>> Error: SyntaxError: Unable to parse JSON string alert. >> >>> >> >>> I will attempt to get it up and running again today. >> >>> >> >>> I also have the start of a node runner for callback-js tests here: >> >>> https://github.com/gtanner/callback-js >> >>> >> >>> Gord >> >>> >> >>> On Wed, Feb 15, 2012 at 5:19 AM, Viras >> wrote: >> >>> >> >>>> Can you please drop me a line once cordova-js is on the official >> repos & >> >>>> mirrored? I will then give integrating the new common-JS into >> cordova-qt a >> >>>> go! >> >>>> >> >>>> Am 2012-02-15 00:09, schrieb Filip Maj: >> >>>> >> >>>> Update on unified JavaScript work in cordova for today: >> >>>>> >> >>>>> - looks like the WP7 implementation cannot run our mobile-spec, >> which is a >> >>>>> hurdle in making sure it supports the cross-platform cordova API. >> Before >> >>>>> we can move forward with cordova-js integration we really need to >> figure >> >>>>> that part of it out. >> >>>>> - I will work rest of day in getting cordova-js into the apache >>git >> repo >> >>>>> and finishing up that work. >> >>>>> - BlackBerry still needs work and testing - Tim, you available? >> >>>>> - Shaz and I have a remote hack sesh planned for tomorrow morning >>to >> get >> >>>>> iOS on track. Will have a better idea how that platform is looking >> >>>>> tomorrow. >> >>>>> - Bada 2.0 still needs a platform implementation before we can >>move >> with >> >>>>> cordova-js on it. >> >>>>> >> >>>> >> >>>> -- >> >>>> GOFG - Get On Fat Guy >> >>>> http://www.gofg.at/ - powered by Cordova >> >>>> >> >>> >> >>> >> >>> >> >>> -- >> >>> Gord Tanner >> >>> Senior Developer / Code Poet >> >>> tinyHippos Inc. >> >>> @tinyhippos >> > > > >--=20 >Gord Tanner >Senior Developer / Code Poet >tinyHippos Inc. >@tinyhippos