Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/047e53179df1b587d10c1a2a66f6172502da09e9/UI/Mixins/handlebars.mixin.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/UI/Mixins/handlebars.mixin.js

21 lines
610 B

'use strict';
Handlebars.registerHelper('partial', function (templateName) {
//TODO: We should be able to pass in the context, either an object or a property
var templateFunction = Marionette.TemplateCache.get(templateName);
return new Handlebars.SafeString(templateFunction(this));
});
Handlebars.registerHelper("debug", function(optionalValue) {
console.log("Current Context");
console.log("====================");
console.log(this);
if (optionalValue) {
console.log("Value");
console.log("====================");
console.log(optionalValue);
}
});