[dojo-contributors] dojo.lang.inherits

Bill Keese bill at dojotoolkit.org
Thu Apr 6 11:12:18 EDT 2006


What does delegate mean?  I'm thinking delegate means something similar 
to "inherit", which isn't appropriate in this case because it's not just 
inheritance, it's the whole class definition (the combination of 
constructor, dojo.inherits, and dojo.extends)

Sandro Magi wrote:
> +1 to delegate.
> 
> It's closer to the proper concept.
> 
> Sandro
> 
> Alex Russell wrote:
>> To address Jesse's point, how about a name like:
>>
>> 	dojo.delegate(subclass, superclass, { ... });
>>
>> ?
>>
>> On Wednesday 05 April 2006 5:33 pm, Scott J. Miles wrote:
>>> dojo.defineClass(subclass, superclass, { constructor: ..., param1:
>>> ..., func1: ... });
>>>
>>> +1
>>>
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-contributors

-- 

Bill



More information about the dojo-contributors mailing list