From a4c1d733b72558cca6bf7c5a38664d772b9083b8 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 30 Sep 2013 11:17:12 -0400 Subject: [PATCH] fixed issue where setOnEmpty would fail in install.js as Meta.config was not defined (as it had not been initted yet) --- src/meta.js | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/src/meta.js b/src/meta.js index cfc2a1d66d..e7da74e99d 100644 --- a/src/meta.js +++ b/src/meta.js @@ -7,6 +7,7 @@ var utils = require('./../public/src/utils.js'), nconf = require('nconf'); (function (Meta) { + Meta.config = {}; Meta.configs = { init: function (callback) { @@ -162,33 +163,7 @@ var utils = require('./../public/src/utils.js'), 'src/ajaxify.js', 'src/translator.js', 'src/jquery.form.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' + 'src/utils.js' ], minFile: path.join(__dirname, '..', 'public/src/nodebb.min.js'), get: function (callback) {