Radarr/UI/Handlebars/Handlebars.Debug.js

12 lines
268 B
JavaScript
Raw Normal View History

2013-06-25 04:43:16 +00:00
'use strict';
2013-06-30 19:57:26 +00:00
define(
[
'handlebars'
], function (Handlebars) {
Handlebars.registerHelper("debug", function () {
2013-06-25 04:43:16 +00:00
console.group('Handlebar context');
console.log(this);
console.groupEnd();
});
2013-06-30 19:57:26 +00:00
});