mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +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, translator, config, RELATIVE_PATH */
|
||||
/* global define, app, config, RELATIVE_PATH */
|
||||
|
||||
define('forum/login', ['csrf'], function(csrf) {
|
||||
define('forum/login', ['csrf', 'translator'], function(csrf, translator) {
|
||||
var Login = {};
|
||||
|
||||
Login.init = function() {
|
||||
|
||||
Reference in New Issue
Block a user