Verified Commit be2a35a6 authored by Starbeamrainbowlabs's avatar Starbeamrainbowlabs
Browse files

Add es6 modules support message

parent 7a39d2b0
...@@ -55,3 +55,9 @@ body ...@@ -55,3 +55,9 @@ body
background: var(--debug-value-background-style); background: var(--debug-value-background-style);
border-radius: 0.2em; border-radius: 0.2em;
} }
#message-es6-modules
{
position: relative;
z-index: 1000;
}
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
<body> <body>
<canvas id="canvas-main"></canvas> <canvas id="canvas-main"></canvas>
<p id="message-es6-modules">Sorry, your browser doesn't support es6 modules. Try upgrading your browser or enabling support in about:config or chrome://flags.</p>
<div class="debug-data"> <div class="debug-data">
<ul> <ul>
<li>Points: <output id="output-point-count"></output> &#10142; <output id="output-simple-point-count"></output></li> <li>Points: <output id="output-point-count"></output> &#10142; <output id="output-simple-point-count"></output></li>
......
...@@ -146,6 +146,8 @@ class RDPDemo ...@@ -146,6 +146,8 @@ class RDPDemo
window.addEventListener("load", function(event) { window.addEventListener("load", function(event) {
document.getElementById("message-es6-modules").style.display = "none";
this.rdpDemo = new RDPDemo(); this.rdpDemo = new RDPDemo();
this.rdpDemo.nextFrame(); this.rdpDemo.nextFrame();
}); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment