24 lines
373 B
HTML
24 lines
373 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
</head>
|
|
<body>
|
|
<h1>Look in the console</h1>
|
|
<script src="./hmmlib.js"></script>
|
|
<script>
|
|
|
|
(function(){
|
|
var x = new XMLHttpRequest();
|
|
x.addEventListener("load", function(){
|
|
var state = HMML_parse(this.responseText);
|
|
console.log(state);
|
|
});
|
|
x.open("GET", "test.hmml");
|
|
x.send();
|
|
})();
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|