Becklyn / mojave

A library of commonly used JavaScript tools and helpers by Becklyn
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Filter out null elements from array of elements passed into `on` and `off` #215

Closed keichinger closed 5 years ago

keichinger commented 5 years ago
Q A
Bug fix? yes
New feature? no
Improvement? yes
BC breaks? no
Deprecations? no
Docs PR missing

Right now it's not possible to pass in an array of elements that contain null to on and off. This PR filters these elements out and adds various more tests to cover these cases