Opened 15 years ago

Closed 15 years ago

#4348 closed enhancement (fixed)

Add extension mechanims to declare that supports name-free 'inherited'

Reported by: sjmiles Owned by: sjmiles
Priority: low Milestone: 1.0
Component: Core Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


Declare names functional properties so that a short-form of 'inherited' can be used.

dojo.declare("myClass", null, {
  method: function() {
    // .. code ... 

Alter declare to add an 'extend' method onto declared classes such that class extensions can also use short-form 'inherited'.

  extension: function() {
    // .. code ... 

Change History (1)

comment:1 Changed 15 years ago by sjmiles

Resolution: fixed
Status: newclosed

(In [10408]) Add 'extend' method to declared classes (not instances), fixes #4348.

Note: See TracTickets for help on using tickets.