mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 17:49:01 +00:00
handle javascript properly for #396
This commit is contained in:
@@ -220,6 +220,10 @@ class Templategen:
|
|||||||
return True
|
return True
|
||||||
if 'json' in out:
|
if 'json' in out:
|
||||||
return True
|
return True
|
||||||
|
if 'javascript' in out:
|
||||||
|
return True
|
||||||
|
if 'ecmascript' in out:
|
||||||
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _template_loader(self, relpath):
|
def _template_loader(self, relpath):
|
||||||
|
|||||||
Reference in New Issue
Block a user