Remember, folks, `typeof null === 'object'`.
This commit is contained in:
Dallon Feldner 2015-01-12 17:38:21 -06:00
parent 2270ba4db4
commit e7fedc2926
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ function applyFilter(filter) {
return undefined;
}
if (typeof example === 'object') {
if (typeof example === 'object' && example !== null) {
// ignore geo near filter
if (example.near) {
return true;