fixed issue where setOnEmpty would fail in install.js as Meta.config was

not defined (as it had not been initted yet)
v1.18.x
Julian Lam 11 years ago
parent 839649d42f
commit a4c1d733b7

@ -7,6 +7,7 @@ var utils = require('./../public/src/utils.js'),
nconf = require('nconf'); nconf = require('nconf');
(function (Meta) { (function (Meta) {
Meta.config = {};
Meta.configs = { Meta.configs = {
init: function (callback) { init: function (callback) {
@ -162,33 +163,7 @@ var utils = require('./../public/src/utils.js'),
'src/ajaxify.js', 'src/ajaxify.js',
'src/translator.js', 'src/translator.js',
'src/jquery.form.js', 'src/jquery.form.js',
'src/utils.js', 'src/utils.js'
'src/forum/account.js',
'src/forum/accountedit.js',
'src/forum/accountheader.js',
'src/forum/accountsettings.js',
'src/forum/category.js',
'src/forum/favourites.js',
'src/forum/followers.js',
'src/forum/following.js',
'src/forum/footer.js',
'src/forum/login.js',
'src/forum/recent.js',
'src/forum/register.js',
'src/forum/reset.js',
'src/forum/reset_code.js',
'src/forum/search.js',
'src/forum/topic.js',
'src/forum/unread.js',
'src/forum/users.js',
'src/forum/admin/categories.js',
'src/forum/admin/footer.js',
'src/forum/admin/groups.js',
'src/forum/admin/index.js',
'src/forum/admin/plugins.js',
'src/forum/admin/themes.js',
'src/forum/admin/topics.js',
'src/forum/admin/users'
], ],
minFile: path.join(__dirname, '..', 'public/src/nodebb.min.js'), minFile: path.join(__dirname, '..', 'public/src/nodebb.min.js'),
get: function (callback) { get: function (callback) {

Loading…
Cancel
Save