Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 33d2a7c

Browse files
author
Je
committed
refactor: cleanup
1 parent 3d53fa8 commit 33d2a7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nomodule.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ for (var key in style) {
3131
for (var key in hStyle) {
3232
(hEl.style as any)[key] = hStyle[key]
3333
}
34-
hEl.innerText = 'Your browser is out of date.'
3534
var isDev = false
3635
var scripts = document.getElementsByTagName('script')
3736
for (var i = 0; i < scripts.length; i++) {
@@ -41,6 +40,9 @@ for (var i = 0; i < scripts.length; i++) {
4140
break
4241
}
4342
}
43+
// todo: i18n
44+
// todo: add browser info
45+
hEl.innerText = 'Your browser is out of date.'
4446
if (isDev) {
4547
pEl.innerHTML = 'Aleph.js requires <a href="https://caniuse.com/es6-module" style="font-weight:500;color:#000;">ES module</a> support during development.'
4648
} else {

0 commit comments

Comments
 (0)