SocketWidgets file

This commit is contained in:
psychobunny
2014-02-19 17:11:07 -05:00
parent b3978d53bb
commit 79e9819b7f

11
src/socket.io/widgets.js Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
var widgets = require('../widgets'),
SocketWidgets = {};
SocketWidgets.render = function(socket, data, callback) {
widgets.render(socket.uid, data, callback);
};
module.exports = SocketWidgets;