cleanup
This commit is contained in:
@@ -1,20 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>JS Tester</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script>
|
|
||||||
document.addEventListener("DOMContentLoaded", (e) => {
|
|
||||||
message("Document ready", e);
|
|
||||||
});
|
|
||||||
window.onload = (e) => {
|
|
||||||
message("Window ready", e);
|
|
||||||
}
|
|
||||||
function message(val, event) {
|
|
||||||
console.log(event);
|
|
||||||
console.log(val);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Reference in New Issue
Block a user