incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian LeRoux...@brian.io>
Subject Re: CommonJS and AMD (and, not or)
Date Tue, 13 Dec 2011 19:25:16 GMT
Looks rad. I'm curious what an AMD plugin vs the same plugin authored
in CJS style would look like. Just a hello world.

On Tue, Dec 13, 2011 at 11:09 AM, Gord Tanner <gord@tinyhippos.com> wrote:
> So I ported callback-js to use almond but it is still using the custom
> builder code.
>
> https://github.com/gtanner/callback-js/tree/almond
>
> It was very nice that I could switch this out with no update to any of the
> modules.
>
> Patrick: Would be cool if you could update this to use r.js if it is
> possible.
>
> With my quick experience with almond I have to say I really like what I am
> seeing and I think it will help us out a lot and give the ability to have
> plugin's authored in both commonJS and AMD module definitions. (unless I am
> misunderstanding something).
>
> Gord
>
> On Fri, Dec 9, 2011 at 12:18 PM, Patrick Mueller <pmuellr@gmail.com> wrote:
>
>> On Fri, Dec 9, 2011 at 11:20, Gord Tanner <gord@tinyhippos.com> wrote:
>>
>> > I am switching out browser-require for require.js in a branch today to
>> see
>> > what this would feel like for a developer.
>> >
>>
>> > I have no preference as to which module system we use so I am going to
>> give
>> > this a go today to learn AMD modules / requireJS and get a feel for how
>> it
>> > would look in phonegap.js development.
>> >
>>
>> I assume you are going to use the big requirejs, which includes dynamically
>> loading modules async, etc.  Since I've been playing with almond, I can
>> take whatever you do, and see how to fit almond into the picture for a
>> single cat'd file.  Just point me to your repo ...
>>
>> --
>> Patrick Mueller
>> http://muellerware.org
>>
>
>
>
> --
> Gord Tanner
> Senior Developer / Code Poet
> tinyHippos Inc.
> @tinyhippos

Mime
View raw message