init, attempt to increase cold load speed

This commit is contained in:
psychobunny
2014-05-29 17:24:38 -04:00
parent 5b17f9a7a4
commit 281aa0049c
68 changed files with 102 additions and 71 deletions

View File

@@ -3,7 +3,7 @@
/* globals define, app, templates, translator, socket, bootbox, config, ajaxify, RELATIVE_PATH, utils */
define(['forum/pagination', 'forum/infinitescroll', 'forum/topic/threadTools', 'forum/topic/postTools', 'forum/topic/events', 'navigator'], function(pagination, infinitescroll, threadTools, postTools, events, navigator) {
define('forum/topic', ['forum/pagination', 'forum/infinitescroll', 'forum/topic/threadTools', 'forum/topic/postTools', 'forum/topic/events', 'navigator'], function(pagination, infinitescroll, threadTools, postTools, events, navigator) {
var Topic = {},
scrollingToPost = false,
currentUrl = '';