Closed Dylan-Chapman closed 6 years ago
I have the following in a JSX render function:
loading={this.$wait.isWaiting( [ "myFirstLoader", "mySecondLoader" ] )}
And I recieve the error: "TypeError: waiter.match is not a function" from utils.js
This only happens when passing an array to isWaiting.
If it matters, how I usually handle params that can either be a string or an array:
[].concat( myParam || [] )
Then you can do all array operations.
Fixed with https://github.com/f/vue-wait/commit/153ece86c07e5f43d6c95350f097dafd246e8367
I have the following in a JSX render function:
And I recieve the error: "TypeError: waiter.match is not a function" from utils.js
This only happens when passing an array to isWaiting.