|
Re: [Dojo-escalate] bug in dojo.lang declare: msg#00017web.dojo.devel
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> |
|---|---|---|
| Previous by Date: | Re: Usage of "package" and "module": 00017, Bill Keese |
|---|---|
| Next by Date: | Re: [Dojo-escalate] bug in dojo.lang declare: 00017, Eugene Lazutkin |
| Previous by Thread: | Re: [Dojo-escalate] bug in dojo.lang declarei: 00017, Eugene Lazutkin |
| Next by Thread: | Re: [Dojo-escalate] bug in dojo.lang declare: 00017, Eugene Lazutkin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |