mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 13:43:49 +08:00
16 lines
497 B
JavaScript
16 lines
497 B
JavaScript
// 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") {
|
|
// eslint-disable-next-line
|
|
__exports__.default = Handlebars;
|
|
}
|
|
});
|
|
|
|
define("handlebars-compiler", ["exports"], function (__exports__) {
|
|
// eslint-disable-next-line
|
|
__exports__.default = Handlebars.compile;
|
|
});
|
|
}
|