mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
7 lines
217 B
JavaScript
7 lines
217 B
JavaScript
if (!('currentScript' in document)) {
|
|
Object.defineProperty(document, 'currentScript', { get: window.getCurrentScript })
|
|
}
|
|
|
|
if (document.currentScript) {
|
|
document.getElementById('app').textContent = 'It works!'
|
|
}
|