remove
can.Map.prototype.define.remove
Called when an attribute is removed.
remove( currentValue )
Returns
{* | false}
If false
is returned, the value is not removed.
Called when an attribute is removed.
{* | false}
If false
is returned, the value is not removed.
Use
The following prevents removing the prop attribute if someone tries to remove the value 0: