Added Max recursion option

This commit is contained in:
nicco
2018-01-21 22:59:05 +01:00
parent c7881b83de
commit 0d77ba282a

View File

@@ -25,6 +25,7 @@ interface Options {
template_ext: string template_ext: string
compiled_dir: string compiled_dir: string
compiled_ext: string compiled_ext: string
max_recursion: number
} }
export const options: Options = { export const options: Options = {
@@ -34,6 +35,7 @@ export const options: Options = {
template_ext: 'html', template_ext: 'html',
compiled_dir: './views', compiled_dir: './views',
compiled_ext: 'htmlbin', compiled_ext: 'htmlbin',
max_recursion: 100,
} }
interface Expressions { interface Expressions {