updated components to be a require.js module, not a global (:rage2:)

This commit is contained in:
Julian Lam
2015-03-31 14:10:20 -04:00
parent f380f4214a
commit 16c6578bdb
15 changed files with 34 additions and 29 deletions

View File

@@ -2,7 +2,7 @@
/* globals define, app, socket */
define('forum/unread', ['forum/recent', 'topicSelect', 'forum/infinitescroll'], function(recent, topicSelect, infinitescroll) {
define('forum/unread', ['forum/recent', 'topicSelect', 'forum/infinitescroll', 'components'], function(recent, topicSelect, infinitescroll, components) {
var Unread = {};
$(window).on('action:ajaxify.start', function(ev, data) {