INNER CODE UNIT · JavaScript
classId
moddio/taro · engine/components/network/net.io/net.io-server/index.js:78
var classId = function (name) {
if (typeof (name) !== 'undefined') {
if (this._classId) {
this._classId = name;
} else {
this.prototype._classId = name;
}
return this;
}
return (this._classId || this.prototype._classId);
};
/**
* Creates a new instance of the component argument passing
* the options argument to the component as it is initialised.
* The new component instance is then added to "this" via
* a property name that is defined in the component class as