MCPcopy Index your code
hub / github.com/botui/botui / loadScript

Function loadScript

src/scripts/botui.js:72–82  ·  view source on GitHub ↗
(src, cb)

Source from the content-addressed store, hash-verified

70 }
71
72 function loadScript(src, cb) {
73 var script = document.createElement('script');
74 script.type = 'text/javascript';
75 script.src = src;
76
77 if(cb) {
78 script.onload = cb;
79 }
80
81 document.body.appendChild(script);
82 }
83
84 function _handleAction(text) {
85 if(_instance.action.addMessage) {

Callers 1

botui.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…