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

Function get

src/lib/editorManager.js:988–994  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

986
987 Object.defineProperty(editor.commands, "commands", {
988 get() {
989 const map = {};
990 getRegisteredCommands().forEach((cmd) => {
991 map[cmd.name] = cmd;
992 });
993 return map;
994 },
995 });
996
997 // Provide editor.session for Ace API compatibility

Callers

nothing calls this directly

Calls 1

getRegisteredCommandsFunction · 0.90

Tested by

no test coverage detected