added --stack option.. refactor
This commit is contained in:
@ -1,18 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Ajax test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>README</h1>
|
||||
<h2>loaded in the "Ajax" style</h2>
|
||||
<pre id="readme"></pre>
|
||||
<script>
|
||||
var $ = document.querySelector.bind(document);
|
||||
var req = new XMLHttpRequest();
|
||||
req.open("get", "http://localhost:8000/big-file.txt", true);
|
||||
req.onload = function(){
|
||||
$("#readme").textContent = this.responseText;
|
||||
}
|
||||
req.send()
|
||||
</script>
|
||||
</body>
|
@ -1 +0,0 @@
|
||||
test
|
@ -1 +0,0 @@
|
||||
one
|
@ -1 +0,0 @@
|
||||
one
|
@ -1 +0,0 @@
|
||||
two
|
Reference in New Issue
Block a user