-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
XML3D.tools.Class needs two parameters, baseClass and body. But most of the time the base class is not used at all and only the body is passed into the function.
A better interface would be to create a class with:
myClass = XML3D.tools.Class({body});
and extend this class in this way:
myExtendedClass = myClass.extend({extendedBody});
This is similar to the class creation in http://backbonejs.org/.
Reactions are currently unavailable