From 3281a491a640a2b8b4444e87494b279516e4c543 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 4 Dec 2021 11:00:40 +0100 Subject: [PATCH] ... --- src/template.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/template.mjs b/src/template.mjs index 10a8549..ee58f94 100644 --- a/src/template.mjs +++ b/src/template.mjs @@ -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(\`' +