mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
refactored translator system to be a require.js module, and not a global
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/* global define, app, ajaxify, socket, templates, bootbox, translator */
|
||||
/* global define, app, ajaxify, socket, templates, bootbox */
|
||||
|
||||
define('admin/general/navigation', function() {
|
||||
define('admin/general/navigation', ['translator'], function(translator) {
|
||||
var navigation = {},
|
||||
available;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user