d65683434d
* Convert tests to vitest * fix git tests * Cleanup * Convert ignore comments * address code review comments
12 lines
273 B
JavaScript
12 lines
273 B
JavaScript
export default function (Handlebars) {
|
|
let $Handlebars = globalThis.Handlebars;
|
|
|
|
/* v8 ignore next */
|
|
Handlebars.noConflict = function () {
|
|
if (globalThis.Handlebars === Handlebars) {
|
|
globalThis.Handlebars = $Handlebars;
|
|
}
|
|
return Handlebars;
|
|
};
|
|
}
|