nci/app/connect.js
2015-12-12 15:44:41 +03:00

10 lines
189 B
JavaScript

'use strict';
var socketio = require('socket.io-client'),
dataio = require('data.io/data.io'),
io = socketio(),
data = dataio(io);
module.exports.io = io;
module.exports.data = data;