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