곽교린

Update CommentLoadingTest.js

correct error : clear comment list when load new URL of video
......@@ -78,6 +78,9 @@ var app = http.createServer(function(request,response){ // request는 브라우
response.end(body);
}
else if(pathname === '/search'){
commentList.splice(0);
commentNum = 0; //코멘트 리스트 초기화
videoNum = queryData.videourl;
console.log(videoNum);
let npt = ""
......@@ -98,7 +101,7 @@ var app = http.createServer(function(request,response){ // request는 브라우
<body>
<form action="http://localhost:3000/search" method="get">
<p>
<textarea name="videourl" placeholder="Write your video Url" value="${videoNum}"></textarea>
<textarea name="videourl" placeholder="Write your video Url" >${videoNum}</textarea>
</p>
<p>
<input type="submit">
......