constructorExtends
can.Construct.constructorExtends
{Boolean}
Toggles the behavior of a constructor function called
without new
to extend the constructor function or
create a new instance.
{Boolean}
Toggles the behavior of a constructor function called
without new
to extend the constructor function or
create a new instance.
If
constructorExtends
is:true
- the constructor extendsfalse
- a new instance of the constructor is createdFor 1.1,
constructorExtends
defaults to true. For 1.2,constructorExtends
will default to false.