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