Skip to content

Commit f9b78a8

Browse files
author
Jesse Haigh
committed
default value for wrap and highlight, not required
1 parent b7e7794 commit f9b78a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ContentNode/CodeListing.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ export default {
106106
},
107107
wrap: {
108108
type: Number,
109-
required: true,
109+
default: () => 0,
110110
},
111111
highlightedLines: {
112112
type: Array,
113-
required: true,
113+
default: () => [],
114114
},
115115
startLineNumber: {
116116
type: Number,

0 commit comments

Comments
 (0)