31 lines
815 B
HTML
31 lines
815 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>Tests - init</title>
|
||
|
<script>
|
||
|
var onloadPre = onload || (() => {});
|
||
|
onload = () => {
|
||
|
onloadPre();
|
||
|
console.log("TEST - onload defined before module load");
|
||
|
}
|
||
|
</script>
|
||
|
<script type="module" src="/sunpy/orep/orep.js" async></script>
|
||
|
<script>
|
||
|
var onloadPost = onload || (() => {});
|
||
|
onload = () => {
|
||
|
onloadPost();
|
||
|
console.log("TEST - onload defined after module load");
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<script type="orep/canvas">
|
||
|
size = 400x300
|
||
|
</script>
|
||
|
<script type="orep/canvas">
|
||
|
size = 600x450
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|