mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-03 13:19:51 +01:00
SocketWidgets file
This commit is contained in:
11
src/socket.io/widgets.js
Normal file
11
src/socket.io/widgets.js
Normal 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;
|
||||
Reference in New Issue
Block a user