Merge branch 'hotfix/21.56.9' into master
[gitter.git] / public / js / template / helpers / all.js
blobb17b4a239d50656a191f9cbf703654d8d9d01b2d
1 'use strict';
3 var Handlebars = require('handlebars/runtime').default;
4 var cdn = require('gitter-web-cdn');
5 var Widget = require('./widget');
6 var avatarImgSrcSetHbsHelper = require('gitter-web-avatars/shared/avatar-img-srcset-hbs-helper');
7 const sanitizeHref = require('gitter-web-templates/shared/helpers/sanitize-href');
9 Handlebars.registerHelper('cdn', cdn);
10 Handlebars.registerHelper('widget', Widget);
11 Handlebars.registerHelper('avatarSrcSet', avatarImgSrcSetHbsHelper);
12 Handlebars.registerHelper('sanitizeHref', sanitizeHref);