Registry.prototype.make = function(name, prototype) // name is optional
This new convenience method creates a new class extended from the registry's base class (registry.BaseClass) and then adds it. The registry name is determined either by the first parameter if provided OR from a name property or $$CLASS_NAME property in the provided prototype.
This PR targets the next release,
v3.2.0
.This new convenience method creates a new class extended from the registry's base class (registry.BaseClass) and then adds it. The registry name is determined either by the first parameter if provided OR from a
name
property or$$CLASS_NAME
property in the provided prototype.