I'd be -for- having something like this inside jQuery.

For all the other non-element additions that there in jQuery, something like
this would be a great feature to have.

As much as code purity is a good thing, there comes a point when you say
'well, this might just make things better...'.


Stephen Howard wrote:
> 
> 
> 
> Christof Donat wrote:
>>
>> Cons:
>> - either you need to do synchronous loading like JSON does or you need to
>> work 
>> with callbacks as I do. Synchronous loading blocks the browser, callbacks
>> are 
>> not understood by everyone.
>>
>>   
> I believe Christof is referring here to JSAN (openjsan.org) not JSON 
> (data format) when he is referring to the synchronous loading
> 
> 
> I'd like to throw in my voice in support of Christof's call for keeping 
> things like this out of jQuery proper.  To me 'doing different things 
> should look different'.  When i see raw ajax calls and such hanging off 
> $ that looks wrong, as I think of $ signifying that I'm selecting and 
> manipulating the DOM.  If I'm doing something that doesn't have to do 
> with DOM selection, I shouldn't see the $ in my code, because that's 
> what I associate it with, and anything else interrupts the visual 
> texture of my code.
> 
> -Stephen
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/On-Demand-Javascript--tf2220945.html#a6155814
Sent from the JQuery forum at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to