mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 17:35:46 +01:00
refactored translator system to be a require.js module, and not a global
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
/* globals define, socket, app, templates, translator, ajaxify*/
|
||||
/* globals define, socket, app, templates, ajaxify*/
|
||||
|
||||
define('forum/categories', ['components'], function(components) {
|
||||
define('forum/categories', ['components', 'translator'], function(components, translator) {
|
||||
var categories = {};
|
||||
|
||||
$(window).on('action:ajaxify.start', function(ev, data) {
|
||||
|
||||
Reference in New Issue
Block a user