logo       

Re: [Dojo-escalate] bug in dojo.lang declare: msg#00017

web.dojo.devel

Subject: Re: [Dojo-escalate] bug in dojo.lang declare

Alex Russell wrote:
Hrm, declare just thunks things into the prototype anyway. Do you have a benchmark to back up your suggestion that dojo.declare is significantly slower?

I think the point is that you can just call

dojo.lfx.foo.superclass.apply(this, arguments)

(or whatever the syntax is) rather than calling

this.inherited("foo", arg1, arg2, arg3)

And then you avoid this confusion. Since so many people get confused by this.inherited(), even though Scott has explained it a dozen times already, we talked about just removing the function.

Scott, should we remove this.inherited() before 0.4?


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise