incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viras <>
Subject Re: Unified phonegap javascript layer incorperating modules / plugins
Date Sat, 19 Nov 2011 16:09:18 GMT
Well don't get me wrong, I only wanted to point out that I don't think
it would be good for callback to favor one javascript framework (this
also includes jQuery) - I'm not implying that you are planning to do so :).

Am 19.11.2011 14:34, schrieb Patrick Mueller:
> On Sat, Nov 19, 2011 at 06:09, Viras <> wrote:
>> However I would avoid sticking to a syntax of a popular framework. E.g.
>> I'm a fan of jquery and I'm using for my app with great
>> success, however if you now force me to stick to a commonJS like syntax
>> for callback it will be quite confusing.
> Existing, non-modular JavaScript shouldn't be a problem to handle for
> any of the module systems.  What syntax do you think we'd be forcing
> on people to use jquery mobile, for example?
> In fact, I don't think we'd ever want to "auto-modulize" any existing
> JS file.  You'll continue to use jquery mobile by adding a <script
> src=> for it in your .html files, or however you currently do it.
> That said, jQuery has nascent support for some flavor of AMD -
> Last note, some folks write JavaScript such that it can be used in
> multiple environments; underscore can be used in a browser by just
> <script src>'ing it, used in CommonJS, and it appears now to support
> AMD:

GOFG - Get On Fat Guy - powered by PhoneGap

View raw message