Skip to content

Commit 09a6159

Browse files
authored
Merge pull request #65 from CrashyBang/master
Fix factory function error
2 parents 393cd1c + 3904d71 commit 09a6159

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/VueFuse.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ export default {
5454
},
5555
tokenSeparator: {
5656
type: RegExp,
57-
default: RegExp(' ')
57+
default() {
58+
return new RegExp(' ');
59+
}
5860
},
5961
matchAllTokens: {
6062
type: Boolean,

0 commit comments

Comments
 (0)