(initConfig)
| 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); |
nothing calls this directly
no test coverage detected