From af5bcf4514aca1dcab5e24e8009758fd8a3a9457 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 5 Aug 2023 21:28:21 +0200 Subject: [PATCH] handle javascript properly for #396 --- dotdrop/templategen.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotdrop/templategen.py b/dotdrop/templategen.py index c6c2edf..c77a139 100644 --- a/dotdrop/templategen.py +++ b/dotdrop/templategen.py @@ -220,6 +220,10 @@ class Templategen: return True if 'json' in out: return True + if 'javascript' in out: + return True + if 'ecmascript' in out: + return True return False def _template_loader(self, relpath):