mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +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, app, ajaxify, bootbox, socket, templates, translator, utils */
|
||||
/* globals define, app, ajaxify, bootbox, socket, templates, utils */
|
||||
|
||||
define('forum/topic/postTools', ['composer', 'share', 'navigator', 'components'], function(composer, share, navigator, components) {
|
||||
define('forum/topic/postTools', ['composer', 'share', 'navigator', 'components', 'translator'], function(composer, share, navigator, components, translator) {
|
||||
|
||||
var PostTools = {},
|
||||
topicName;
|
||||
|
||||
Reference in New Issue
Block a user