Explorar o código

hw14 Chat done

makstravm %!s(int64=3) %!d(string=hai) anos
pai
achega
f6d2ecf76e
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 1
      HW14/index.html
  2. 0 1
      HW14/main.js

+ 0 - 1
HW14/index.html

@@ -18,7 +18,6 @@
       <button id='btn'>Send</button>
     </div>
     <div class="history" id='historyChat'>
-
     </div>
   </div>
 

+ 0 - 1
HW14/main.js

@@ -4,7 +4,6 @@ async function jsonPost(url, data) {
     body: JSON.stringify(data)
   })
   return await resp.json()
-
   // return new Promise((resolve, reject) => {
   //   var x = new XMLHttpRequest();
   //   x.onerror = () => reject(new Error('jsonPost failed'))