mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
fully working add series
This commit is contained in:
parent
57ccc51393
commit
96810c489c
21 changed files with 295 additions and 314 deletions
|
@ -1,18 +1,11 @@
|
|||
'use strict';
|
||||
define({
|
||||
register: function (Handlebars) {
|
||||
Handlebars.registerHelper("debug", function (optionalValue) {
|
||||
|
||||
define(
|
||||
[
|
||||
'handlebars'
|
||||
], function (Handlebars) {
|
||||
Handlebars.registerHelper("debug", function () {
|
||||
console.group('Handlebar context');
|
||||
|
||||
console.log(this);
|
||||
if (optionalValue) {
|
||||
|
||||
console.group('optional values');
|
||||
console.log('optinal values');
|
||||
console.groupEnd();
|
||||
}
|
||||
console.groupEnd();
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue