class method SpahQL_classRegister
.SpahQL_classRegister(name, klass) → void
-
name
(String
) – The name for the new Spah class, e.g. “SpahQL.Foo.Bar” -
klass
(Function
) – The class constructor being registered.
Registers a created class with the Spah package using both CamelCase and commonJs-style naming schemes. The Spah package is already registered with the window or the commonJS exports object automatically.