1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vweb: make mime_types a const

This commit is contained in:
Alexander Medvednikov
2019-08-12 21:56:47 +03:00
parent bc563930f7
commit a11961b0d3
3 changed files with 18 additions and 17 deletions

View File

@@ -35,14 +35,14 @@ _ := header
//footer := \'footer\'
')
s.writeln(STR_START)
mut in_css := false
mut in_css :=true// false
for _line in lines {
line := _line.trim_space()
if line == '<style>' {
in_css = true
}
else if line == '</style>' {
in_css = false
//in_css = false
}
if line.contains('@if ') {
s.writeln(STR_END)