2020-04-30 15:41:02 -05:00
|
|
|
// allow us to import this as a module
|
|
|
|
if (typeof define !== "undefined") {
|
2020-09-04 06:42:47 -05:00
|
|
|
define("handlebars", ["exports"], function (__exports__) {
|
2020-04-30 15:41:02 -05:00
|
|
|
// It might not be defined server side, which is OK for pretty-text
|
|
|
|
if (typeof Handlebars !== "undefined") {
|
2020-05-01 13:11:45 -05:00
|
|
|
// eslint-disable-next-line
|
2020-04-30 15:41:02 -05:00
|
|
|
__exports__.default = Handlebars;
|
2021-01-21 14:55:39 -06:00
|
|
|
__exports__.compile = function () {
|
|
|
|
// eslint-disable-next-line
|
2021-01-22 09:41:01 -06:00
|
|
|
return Handlebars.compile.apply(this, arguments);
|
2021-01-21 14:55:39 -06:00
|
|
|
};
|
2020-04-30 15:41:02 -05:00
|
|
|
}
|
|
|
|
});
|
2020-05-01 13:11:45 -05:00
|
|
|
|
2020-09-04 06:42:47 -05:00
|
|
|
define("handlebars-compiler", ["exports"], function (__exports__) {
|
2020-05-01 13:11:45 -05:00
|
|
|
// eslint-disable-next-line
|
|
|
|
__exports__.default = Handlebars.compile;
|
|
|
|
});
|
2020-04-30 15:41:02 -05:00
|
|
|
}
|