This commit is contained in:
Flummi 2021-12-04 11:00:40 +01:00
parent d40fb2c5cf
commit 3281a491a6

View File

@ -65,7 +65,7 @@ export default class {
};
render(file, data = {}, locals) {
data = { ...data, ...this.#globals, ...locals };
data = { ...data, ...locals, ...this.#globals };
try {
const code = 'with(_data){const __html = [];' +
'__html.push(\`' +