MCPcopy Create free account
hub / github.com/Semporia/Scripts / conf

Function conf

jd_mohe.js:177–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 })
176}
177function conf() {
178 return new Promise((resolve) => {
179 const url = `conf`;
180 $.get(taskurl(url), (err, resp, data) => {
181 try {
182 // console.log('ddd----ddd', data)
183 data = JSON.parse(data);
184 // console.log('ddd----ddd', data)
185 } catch (e) {
186 $.logErr(e, resp);
187 } finally {
188 resolve(data);
189 }
190 })
191 })
192}
193function homeGoBrowse(type, id) {
194 return new Promise((resolve) => {
195 const url = `homeGoBrowse?type=${type}&id=${id}`;

Callers 2

task0Function · 0.85
task1Function · 0.85

Calls 3

taskurlFunction · 0.70
getMethod · 0.45
logErrMethod · 0.45

Tested by

no test coverage detected