doccam-pi/communicator.js~
2017-04-22 12:12:16 +12:00

18 lines
859 B
JavaScript

///////////////////////////////////////////////////////////////////////////////
// A socket.js wrapper to abstract the communication with the server. //
///////////////////////////////////////////////////////////////////////////////
const socketio = require('socket.io-client');
///////////////////////////////////////////////////////////////////////////////
// Declarations //
///////////////////////////////////////////////////////////////////////////////
// Object oriented `this`.
let self = false;
///////////////////////////////////////////////////////////////////////////////
// Code //
///////////////////////////////////////////////////////////////////////////////
module.exports = function Communicator(){}