MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / evaluateExpression

Function evaluateExpression

debug-plugin/panel.js:21–25  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

19}
20
21function evaluateExpression(expr) {
22 evalInPage(
23 `globalThis._hyperscript.hdb && globalThis._hyperscript.hdb.evaluateExpression("${expr}")`,
24 );
25}
26
27// Reset panel state on page navigation/reload
28chrome.devtools.network.onNavigated.addListener(function () {

Callers

nothing calls this directly

Calls 1

evalInPageFunction · 0.85

Tested by

no test coverage detected