(content, isError = false)
| 1792 | } |
| 1793 | |
| 1794 | function setEfunResult(content, isError = false) { |
| 1795 | const box = document.getElementById("efun-result-box"); |
| 1796 | if (!box) return; |
| 1797 | const text = typeof content === "string" ? content : JSON.stringify(content || {}, null, 2); |
| 1798 | box.textContent = text; |
| 1799 | box.classList.add("show"); |
| 1800 | box.style.color = isError ? "#fecaca" : "#c7d2fe"; |
| 1801 | } |
| 1802 | |
| 1803 | function collectEfunConfig() { |
| 1804 | const apiUrl = String(getInputValue("efun-base-url-input") || "").trim(); |
no outgoing calls
no test coverage detected