MCPcopy
hub / github.com/MrNothing/AI-Blocks / load

Method load

Sources/src/Model/Managers/JsonManager.js:9–18  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

7 }
8
9 load(source) {
10 return new Promise((resolve, reject) => {
11 loadJsonFile(source).then(json => {
12 this.json = json;
13 resolve(json);
14 }).catch(err => {
15 reject(err);
16 });
17 });
18 }
19
20 save(path)
21 {

Callers 13

openProjectClickedMethod · 0.95
createProjectFunction · 0.95
cFunction · 0.80
Project.jsFile · 0.80
setPathMethod · 0.80
jquery-ui.jsFile · 0.80
loadFileFunction · 0.80
SendImageDataFunction · 0.80
SendFastGraphFunction · 0.80
load_outputMethod · 0.80
CreateImageMethod · 0.80
ModalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected