Switch module t.js usage to Benchpress

This commit is contained in:
Peter Jaszkowiak
2017-08-30 11:32:23 -06:00
parent 71aab79a9a
commit c91dfb46f6
9 changed files with 18 additions and 19 deletions

View File

@@ -10,7 +10,8 @@ define('chat', [
'forum/chats/messages',
'translator',
'scrollStop',
], function (components, taskbar, S, sounds, Chats, ChatsMessages, translator, scrollStop) {
'benchpress',
], function (components, taskbar, S, sounds, Chats, ChatsMessages, translator, scrollStop, Benchpress) {
var module = {};
var newMessage = false;
@@ -125,7 +126,7 @@ define('chat', [
return room.teaser;
});
templates.parse('partials/chats/dropdown', {
Benchpress.parse('partials/chats/dropdown', {
rooms: rooms,
}, function (html) {
translator.translate(html, function (translated) {