sonarr-repo-only/UI/Handlebars/Handlebars.Debug.js

12 lines
268 B
JavaScript

'use strict';
define(
[
'handlebars'
], function (Handlebars) {
Handlebars.registerHelper("debug", function () {
console.group('Handlebar context');
console.log(this);
console.groupEnd();
});
});