MCPcopy Create free account
hub / github.com/Toulu-debug/enen / getdata

Method getdata

utils/jd_appopen.js:169–181  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

167 }
168
169 getdata(t) {
170 let e = this.getval(t);
171 if (/^@/.test(t)) {
172 const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : "";
173 if (r) try {
174 const t = JSON.parse(r);
175 e = t ? this.lodash_get(t, i, "") : e
176 } catch (t) {
177 e = ""
178 }
179 }
180 return e
181 }
182
183 setdata(t, e) {
184 let s = !1;

Callers 2

getjsonMethod · 0.45
runScriptMethod · 0.45

Calls 2

getvalMethod · 0.45
lodash_getMethod · 0.45

Tested by

no test coverage detected