FIX: It seems sometimes shims are evaluated by older JS engines (#11813)
This gives us backwards compatibility with those.
This commit is contained in:
parent
4f01ca87e3
commit
dc268822a4
|
@ -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);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue