The real test of strength
This commit is contained in:
parent
8f8bf381ab
commit
8037c123b9
3 changed files with 25 additions and 0 deletions
4
jquery-3.2.1.min.js
vendored
Normal file
4
jquery-3.2.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
11
sandbox.html
11
sandbox.html
|
@ -3,6 +3,11 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Developer's Sandbox</title>
|
||||
<script
|
||||
src="http://code.jquery.com/jquery-3.2.1.min.js"
|
||||
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
|
||||
crossorigin="anonymous">
|
||||
</script>
|
||||
<script src="./sandbox/helloajax.js" type="text/javascript">
|
||||
|
||||
</script>
|
||||
|
@ -13,5 +18,11 @@
|
|||
<a href="./sandbox.html">Sandbox</a>
|
||||
</nav>
|
||||
<h1>Developer's Sandbox</h1>
|
||||
|
||||
<h2>ATOM Live Server Stuff</h2>
|
||||
<p id="atom-players"></p>
|
||||
|
||||
<h2>ButtonPresents Stuff</h2>
|
||||
<p id="button-hello"></p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,16 @@ https://www.youtube.com/watch?v=h0ZUpPiV1ac
|
|||
*/
|
||||
|
||||
window.onload = function(){
|
||||
$.get("./data/players.json", function(data){
|
||||
console.log(data);
|
||||
document.getElementById('atom-players').innerHTML = JSON.stringify(data);
|
||||
});
|
||||
|
||||
$.get("http://server.figytuna.com:8080/ali", function(data){
|
||||
console.log(data);
|
||||
document.getElementById('button-hello').innerHTML = data;
|
||||
});
|
||||
/*
|
||||
let http = new XMLHttpRequest();
|
||||
|
||||
http.onreadystatechange = function(){
|
||||
|
@ -21,6 +30,7 @@ window.onload = function(){
|
|||
const isASYNC = true;
|
||||
http.open(method, filepath, isASYNC);
|
||||
http.send();
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue