No, not at all. It's a conscious design decision that results in only
introducing one new property to the global object (two if you count the
shorthand reference to $)

Rick

On Fri, Nov 4, 2011 at 11:00 AM, Axel Rauschmayer <[email protected]> wrote:

> But isn’t jQuery.bar() just a work-around, because JavaScript does not
> have modules, yet?
>
> On Oct 30, 2011, at 21:05 , Rick Waldron wrote:
>
> This pattern makes is _very_ easy for newer developers/adopters to
> understand the division of functionality:
>
> - DOM methods here: jQuery().foo()
> - Everything else here: jQuery.bar()
>
>
>        --
> Dr. Axel Rauschmayer
> [email protected]
>
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
>
>
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to