MCPcopy Create free account
hub / github.com/adonovan/spaghetti / onSelectImport

Function onSelectImport

code.js:142–147  ·  view source on GitHub ↗
(sel)

Source from the content-addressed store, hash-verified

140
141// onSelectImport is called by the imports dropdown.
142function onSelectImport(sel) {
143 if (sel.value >= 0) {
144 // Simulate a click on a tree node corresponding to the selected import.
145 $('#tree').jstree('select_node', 'node' + sel.value);
146 }
147}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected