Convert AMD and CommonJS odules to ES6
[MAILPOET-1829]
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
define(['handlebars'], function handlebarsHelpers(Handlebars) {
|
||||
import Handlebars from 'handlebars';
|
||||
|
||||
// Handlebars helpers
|
||||
Handlebars.registerHelper('concat', function concatHelper() {
|
||||
var size = (arguments.length - 1);
|
||||
@@ -169,4 +170,3 @@ define(['handlebars'], function handlebarsHelpers(Handlebars) {
|
||||
});
|
||||
|
||||
window.Handlebars = Handlebars;
|
||||
});
|
||||
|
Reference in New Issue
Block a user