On 8/13/2009 04:01, Robert Katić wrote:
> @DBJ
>
> I am not sure who expects that $('div').dialog() gives a namespaces
> instead of creating or displaying something..
>    
It could create a "sleeping" dialog object which would expose a handful 
of methods, like display(message).
I don't like the method-name-as-argument either, expect for things like 
send_message(method_name, args)
which is appropriate for catch-alls methods like Mozilla's __noSuchMethod__.

> On Aug 13, 1:29 am, DBJDBJ<dbj...@gmail.com>  wrote:
>    
>> The big picture
>>
>> // this is so much more right
>> $('div').dialog().open();
>> // than this
>> $('div').dialog('open');
>>
>> In more than one language, and there is more than one reason, too ...
>>
>> Also. Are some "obsessed" with inheritance, here ?
>> This subject is "done and dusted" in the OO community, way way back,
>> in eighties.
>> If you have time, here is one balanced article (and also interesting
>> to this community ) :http://www.berniecode.com/writing/inheritance/
>>
>> Etc ...
>>
>> --DBJ
>>      
> >
>
>    

-- 
Ionut G. Stan
I'm under construction  |  http://blog.igstan.ro/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to