FIX: It seems sometimes shims are evaluated by older JS engines (#11813)

This gives us backwards compatibility with those.
This commit is contained in:
Robin Ward 2021-01-22 10:41:01 -05:00 committed by GitHub
parent 4f01ca87e3
commit dc268822a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ if (typeof define !== "undefined") {
__exports__.default = Handlebars; __exports__.default = Handlebars;
__exports__.compile = function () { __exports__.compile = function () {
// eslint-disable-next-line // eslint-disable-next-line
return Handlebars.compile(...arguments); return Handlebars.compile.apply(this, arguments);
}; };
} }
}); });