Skip to content

Commit

Permalink
Clean up code style errors I missed previously
Browse files Browse the repository at this point in the history
  • Loading branch information
zchrykng committed Jan 20, 2025
1 parent 19c8056 commit 53876a2
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions frontend/src/pages/Compose.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
v-model="stack.composeYAML"
:dark="false"
:extensions="[oneDarkTheme, yaml()]"

basic
></CodeMirror>
<!-- <prism-editor
Expand Down Expand Up @@ -252,10 +251,10 @@
</template>

<script>
import CodeMirror from 'vue-codemirror6';
import { yaml as yamlLang } from '@codemirror/lang-yaml';
import { oneDark } from '@codemirror/theme-one-dark';
import { vsCodeDarkPlus } from '@upleveled/theme-vs-code-dark-plus';
import CodeMirror from "vue-codemirror6";
import { yaml as yamlLang } from "@codemirror/lang-yaml";
import { oneDark } from "@codemirror/theme-one-dark";
import { vsCodeDarkPlus } from "@upleveled/theme-vs-code-dark-plus";
import { parseDocument, Document } from "yaml";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
Expand Down Expand Up @@ -303,7 +302,11 @@ export default {
const yaml = yamlLang;
const oneDarkTheme = oneDark;
const vsCodeDark = vsCodeDarkPlus;
return { yaml, oneDarkTheme, vsCodeDark };
return {
yaml,
oneDarkTheme,
vsCodeDark
};
},
yamlDoc: null, // For keeping the yaml comments
data() {
Expand Down

0 comments on commit 53876a2

Please sign in to comment.