MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / getSchedulerInstance

Method getSchedulerInstance

codebase/sources/dhtmlxscheduler.js:9425–9438  ·  view source on GitHub ↗
(initConfig)

Source from the content-addressed store, hash-verified

9423 }
9424 }
9425 getSchedulerInstance(initConfig) {
9426 var scheduler2 = factoryMethod(this._extensionsManager);
9427 for (var i = 0; i < this._schedulerPlugins.length; i++) {
9428 this._schedulerPlugins[i](scheduler2);
9429 }
9430 scheduler2._internal_id = this._seed++;
9431 if (this.$syncFactory) {
9432 this.$syncFactory(scheduler2);
9433 }
9434 if (initConfig) {
9435 this._initFromConfig(scheduler2, initConfig);
9436 }
9437 return scheduler2;
9438 }
9439 _initFromConfig(scheduler2, initConfig) {
9440 if (initConfig.plugins) {
9441 scheduler2.plugins(initConfig.plugins);

Callers

nothing calls this directly

Calls 2

_initFromConfigMethod · 0.95
factoryMethodFunction · 0.70

Tested by

no test coverage detected