feat: remove global window.templates

This commit is contained in:
Barış Soner Uşaklı
2020-09-06 21:55:31 -04:00
parent fddeb5c0f8
commit 630bac2aa5
2 changed files with 1 additions and 16 deletions

View File

@@ -327,6 +327,7 @@ ajaxify = window.ajaxify || {};
require(['translator', 'benchpress'], function (translator, Benchpress) {
translator.translate('[[error:no-connection]]');
Benchpress.registerLoader(ajaxify.loadTemplate);
Benchpress.setGlobal('config', config);
});
}());