mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
updated components to be a require.js module, not a global (:rage2:)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
/* globals define, app, ajaxify, bootbox, components, socket, templates, translator, utils */
|
||||
/* globals define, app, ajaxify, bootbox, socket, templates, translator, utils */
|
||||
|
||||
define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(composer, share, navigator) {
|
||||
define('forum/topic/postTools', ['composer', 'share', 'navigator', 'components'], function(composer, share, navigator, components) {
|
||||
|
||||
var PostTools = {},
|
||||
topicName;
|
||||
|
||||
Reference in New Issue
Block a user