MCPcopy Create free account
hub / github.com/DHTMLX/gantt / getData

Method getData

scripts/backend/router_dynamic_loading.js:4–9  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

2
3class RouterDynamicLoading extends Router {
4 getData(req, res) {
5 this._tryProcess(function (req, res) {
6 var parentId = req.query.parent_id || 0;
7 res.send(this.storage.children(parentId));
8 }, req, res);
9 }
10}
11
12module.exports = RouterDynamicLoading;

Callers

nothing calls this directly

Calls 2

_tryProcessMethod · 0.80
childrenMethod · 0.80

Tested by

no test coverage detected