MCPcopy Create free account
hub / github.com/CSAILVision/gandissect / constructor

Method constructor

client_dist/ganclient.js:197–202  ·  view source on GitHub ↗
(baseURL = null)

Source from the content-addressed store, hash-verified

195
196class GanterAPI {
197 constructor(baseURL = null) {
198 this.baseURL = baseURL;
199 if (this.baseURL == null) {
200 this.baseURL = _etc_URLHandler__WEBPACK_IMPORTED_MODULE_1__["default"].basicURL();
201 }
202 }
203 allProjects() {
204 return d3__WEBPACK_IMPORTED_MODULE_0__["json"](this.baseURL + '/api/all_projects');
205 }

Callers

nothing calls this directly

Calls 1

basicURLMethod · 0.45

Tested by

no test coverage detected