"waiter.match is not a function"
Dylan-Chapman opened this issue · comments
Dylan Chapman commented
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.
Dylan Chapman commented
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.
Fatih Kadir Akın commented
Fixed with 153ece8