Skip to content

Commit

Permalink
Merge pull request #65 from CrashyBang/master
Browse files Browse the repository at this point in the history
Fix factory function error
  • Loading branch information
shayneo authored Feb 29, 2020
2 parents 393cd1c + 3904d71 commit 09a6159
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/VueFuse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export default {
},
tokenSeparator: {
type: RegExp,
default: RegExp(' ')
default() {
return new RegExp(' ');
}
},
matchAllTokens: {
type: Boolean,
Expand Down

0 comments on commit 09a6159

Please sign in to comment.