MCPcopy Index your code
hub / github.com/RustPython/RustPython / checkCssStatus

Function checkCssStatus

wasm/notebook/src/process.js:52–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52function checkCssStatus() {
53 let style = document.getElementsByTagName('style')[0];
54 if (!style) {
55 return 'none';
56 } else {
57 return style.dataset.status;
58 }
59}
60
61async function runJS(code) {
62 const script = document.createElement('script');

Callers 1

executeNotebookFunction · 0.90

Calls 1

getElementsByTagNameMethod · 0.45

Tested by

no test coverage detected