From abf91edee63ed0b303e66caba9a8c6c26d9b015b Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Tue, 20 Jun 2017 13:18:18 +0200 Subject: [PATCH] removing debug stuff --- index.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/index.js b/index.js index d0de078..f8e5062 100755 --- a/index.js +++ b/index.js @@ -8,18 +8,6 @@ var http = require("http").createServer(); var io = require("socket.io")(http); var activeFile = undefined; -// DEBUG -if(DEBUG){ -//player.loadFile(__dirname + "/files/testv.mp4", ()=>{ -console.log("DEBUG"); -activeFile = "testv.mp4"; -player.loadFile(__dirname + "/files/" + activeFile, ()=>{ - player.play(); -}); - -} -// END DEBUG - io.on("connection", (socket)=>{ console.log("client connected:", socket.client.id); socket.on("play", (data)=>{