2017-06-19 00:17:56 +00:00
|
|
|
<!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);
|
2017-06-19 13:47:55 +00:00
|
|
|
console.dir(state);
|
2017-06-19 00:17:56 +00:00
|
|
|
});
|
|
|
|
x.open("GET", "test.hmml");
|
|
|
|
x.send();
|
|
|
|
})();
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|