mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
rjs -> webpack
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'handlebars'
|
||||
], function (Handlebars) {
|
||||
Handlebars.registerHelper("debug", function () {
|
||||
console.group('Handlebar context');
|
||||
console.log(this);
|
||||
console.groupEnd();
|
||||
});
|
||||
var Handlebars = require('handlebars');
|
||||
|
||||
module.exports = (function(){
|
||||
Handlebars.registerHelper('debug', function(){
|
||||
console.group('Handlebar context');
|
||||
console.log(this);
|
||||
console.groupEnd();
|
||||
});
|
||||
}).call(this);
|
||||
Reference in New Issue
Block a user