Commit b47ddb2e authored by pichalite's avatar pichalite
Browse files

Fix modules require

parent 41bf5519
"use strict"; "use strict";
var meta = module.parent.require('./meta'); var meta = require.main.require('./src/meta');
var user = module.parent.require('./user'); var user = require.main.require('./src/user');
var db = module.parent.require('./database'); var db = require.main.require('./src/database');
var SocketPlugins = module.parent.require('./'); var SocketPlugins = require.main.require('./src/');
var websockets = module.parent.require('./'); var websockets = require.main.require('./src/');
var async = require('async'); var async = require('async');
var emojiParser = require('nodebb-plugin-emoji/build/lib/parse'); var emojiParser = require('nodebb-plugin-emoji/build/lib/parse');
var emojiTable = require('nodebb-plugin-emoji/build/emoji/table.json'); var emojiTable = require('nodebb-plugin-emoji/build/emoji/table.json');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment