mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 19:01:33 +08:00
FIX: It seems sometimes shims are evaluated by older JS engines (#11813)
This gives us backwards compatibility with those.
This commit is contained in:
@ -7,7 +7,7 @@ if (typeof define !== "undefined") {
|
||||
__exports__.default = Handlebars;
|
||||
__exports__.compile = function () {
|
||||
// eslint-disable-next-line
|
||||
return Handlebars.compile(...arguments);
|
||||
return Handlebars.compile.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user