Files
jefferyzhao b9bdc8598b first commit
2025-07-31 17:44:12 +08:00

10 lines
261 B
JavaScript

var app = document.getElementById('app')
if (typeof Promise === 'undefined') {
// skip this test in IE
app.textContent = window.getCurrentScript().src
} else {
Promise.resolve().then(function() {
app.textContent = window.getCurrentScript().src
})
}