fixed require.js error

v1.18.x
psychobunny 11 years ago
parent 3ae8aa1c55
commit dab91d6ce9

@ -3,9 +3,7 @@
(function(module) {
var helpers = {},
templates = templates || require('./templates');
var helpers = {};
helpers.displayUsersLink = function(config) {
return (config.isLoggedIn && !config.privateUserInfo);
@ -20,6 +18,8 @@
}
module.exports = function() {
var templates = templates || require('./templates');
templates.registerHelper('displayUsersLink', helpers.displayUsersLink);
};

Loading…
Cancel
Save