Skip to content

Commit 2eccf62

Browse files
author
Erlend Oftedal
committed
Better default query
1 parent a4a32ea commit 2eccf62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/AstronomicalViewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const DEFAULT_JS_CODE = `function greet(name) {
1515
const result = greet("World");
1616
console.log(result);`
1717
18-
const DEFAULT_QUERY = '//FunctionDeclaration'
18+
const DEFAULT_QUERY = '//FunctionDeclaration//Literal'
1919
2020
// Load from localStorage or use defaults
2121
const jsCode = ref(localStorage.getItem('astronomical-viewer-js') || DEFAULT_JS_CODE)

0 commit comments

Comments
 (0)