MCPcopy
hub / github.com/clientIO/joint / create

Method create

packages/joint-core/src/mvc/Data.mjs:12–15  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

10 }
11
12 create(obj) {
13 if (!this.has(obj)) this.map.set(obj, Object.create(null));
14 return this.get(obj);
15 }
16
17 get(obj, key) {
18 if (!this.has(obj)) return undefined;

Callers 11

setMethod · 0.95
utilHelpers.jsFile · 0.45
VFunction · 0.45
index.mjsFile · 0.45
extendFunction · 0.45
extendFunction · 0.45
Dom.mjsFile · 0.45
events.mjsFile · 0.45
initCloneObjectFunction · 0.45
clearMethod · 0.45
index.jsFile · 0.45

Calls 3

hasMethod · 0.95
getMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected