MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / callback

Function callback

src/settings/formatterSettings.js:58–66  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

56 page.show(languageName);
57
58 function callback(key, value) {
59 if (value === null) {
60 // Delete the key when "none" is selected
61 delete values.formatter[key];
62 } else {
63 values.formatter[key] = value;
64 }
65 appSettings.update();
66 }
67}

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected