minor cleanup

This commit is contained in:
Avris 2020-09-11 15:59:05 +02:00
parent 190092124c
commit b875c5f844
1 changed files with 1 additions and 2 deletions

View File

@ -123,14 +123,13 @@
<script> <script>
import { examples, templates, getSources } from "~/src/data"; import { examples, templates, getSources } from "~/src/data";
import { buildTemplate, getTemplate } from "../src/buildTemplate"; import { buildTemplate } from "../src/buildTemplate";
export default { export default {
data() { data() {
return { return {
examples: examples, examples: examples,
templates: templates, templates: templates,
getTemplate: getTemplate,
selectedTemplate: buildTemplate(templates, this.$route.path.substr(1).replace(/\/$/, '')), selectedTemplate: buildTemplate(templates, this.$route.path.substr(1).replace(/\/$/, '')),