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

Method constructor

codebase/dhtmlxscheduler.es.js:697–703  ·  view source on GitHub ↗
(i, t)

Source from the content-addressed store, hash-verified

695}
696class Ct {
697 constructor(i, t) {
698 const n = new At({ url: i, token: t });
699 n.fetch = function(s, a) {
700 const o = { headers: this.headers() };
701 return a && (o.method = "POST", o.body = a), fetch(s, o).then((_) => _.json());
702 }, this._ready = n.load().then((s) => this._remote = s);
703 }
704 ready() {
705 return this._ready;
706 }

Callers

nothing calls this directly

Calls 2

loadMethod · 0.95
headersMethod · 0.45

Tested by

no test coverage detected