Spaces:
Running
Running
iframe
Browse files- dist/index.html +1 -15
dist/index.html
CHANGED
@@ -1,18 +1,4 @@
|
|
1 |
-
|
2 |
-
// Block rendering until we ensure DOCTYPE is present
|
3 |
-
if (document.doctype === null) {
|
4 |
-
const doctypeNode = document.implementation.createDocumentType('html', '', '');
|
5 |
-
document.insertBefore(doctypeNode, document.documentElement || document.firstChild);
|
6 |
-
// Force browser to reparse in standards mode
|
7 |
-
const htmlElement = document.documentElement;
|
8 |
-
const newHtmlElement = htmlElement.cloneNode(true);
|
9 |
-
htmlElement.parentNode.replaceChild(newHtmlElement, htmlElement);
|
10 |
-
// Wait for DOM to be ready before forcing reflow
|
11 |
-
}
|
12 |
-
else {
|
13 |
-
console.log('DOCTYPE is present');
|
14 |
-
}
|
15 |
-
</script>
|
16 |
<html>
|
17 |
<head>
|
18 |
<script src="distill.bundle.js" type="module" fetchpriority="high" blocking></script>
|
|
|
1 |
+
<!DOCTYPE html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<html>
|
3 |
<head>
|
4 |
<script src="distill.bundle.js" type="module" fetchpriority="high" blocking></script>
|