Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corrected checking for a blank eventTypes array
Apparently, [] in javascript is a truth value, so just checking if(eventTypes) will always be true as long as eventTypes is an array.
- Loading branch information