From cc0e26e7ae2d4f21c365c7077666987d6029612b Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Sat, 10 Jun 2017 09:53:50 -0700 Subject: [PATCH] Added Hello Players client-side --- resources/sandbox/sandbox.js | 3 +++ sandbox.html | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/resources/sandbox/sandbox.js b/resources/sandbox/sandbox.js index ba9c24c..288d97a 100644 --- a/resources/sandbox/sandbox.js +++ b/resources/sandbox/sandbox.js @@ -15,6 +15,9 @@ window.onload = function(){ $.get("https://server.figytuna.com:8080/ali/hello/data", function(data){ document.getElementById('hello-data').innerHTML = data; }); + $.get("https://server.figytuna.com:8080/ali/hello/players", function(data){ + document.getElementById('hello-players').innerHTML = data; + } /* let http = new XMLHttpRequest(); diff --git a/sandbox.html b/sandbox.html index 09b358b..23b363b 100644 --- a/sandbox.html +++ b/sandbox.html @@ -32,6 +32,10 @@ Hello Data + + Hello Players + +