_
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// fetch("http://192.168.1.105:8000/0/sensors")
|
||||
// .then(function(response1){
|
||||
// return response1.json();
|
||||
// })
|
||||
// .then(function(data1){
|
||||
// appendData(data1);
|
||||
// })
|
||||
// .catch(function(err1){
|
||||
// console.log(err1);
|
||||
|
||||
// });
|
||||
// function appendData(data1){
|
||||
// console.log(data1);
|
||||
// var senzory = JSON.stringify(data1[1]["teplota"]);
|
||||
// var mainContainer3 = document.getElementById("fuckthisshit");
|
||||
// var div3 = document.createElement("div");
|
||||
// div3.setAttribute("id", "endme");
|
||||
// div3.innerHTML = data3[1].teplota
|
||||
|
||||
// mainContainer3.appendChild(div3);
|
||||
|
||||
// }
|
||||
Reference in New Issue
Block a user