10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +01:00

Delete unnescesary JSON.parse({{ jsonify }})

This commit is contained in:
Mickaël Véril 2020-05-24 15:22:40 +02:00
parent 149837d3c2
commit 92c2f31606

View File

@ -10,7 +10,7 @@ function getAbsFilesName(){
{{- $list = $list | append (path.Join $subdir .Name) }} {{- $list = $list | append (path.Join $subdir .Name) }}
{{- end }} {{- end }}
{{- end }} {{- end }}
var files=JSON.parse({{ jsonify $list }}) var files={{ $list }}
return files return files
} }
{{- $subdir := "fluo" }} {{- $subdir := "fluo" }}
@ -23,7 +23,7 @@ function getFluoFilesName(){
{{- $list = $list | append (path.Join $subdir .Name) }} {{- $list = $list | append (path.Join $subdir .Name) }}
{{- end }} {{- end }}
{{- end }} {{- end }}
var files=JSON.parse({{ jsonify $list }}) var files={{ $list }}
return files return files
} }
</script> </script>