function(elem) {
    var pattern = new RegExp(_filterValue, 'i');
    var element = elem;
    if (pattern.test(element.textContent)) {
      element.style.display = '';
    } else {
      element.style.display = 'none';
    }
  }
function(elem) {
    var pattern = new RegExp(_filterValue, 'i');
    var element = elem;
    if (pattern.test(element.textContent)) {
      element.style.display = '';
    } else {
      element.style.display = 'none';
    }
  }
function ( elem ) { var pattern = new RegExp ( _filterValue , 'i' ) ; var element = elem ; if ( pattern . test ( element . textContent ) ) { element . style . display = '' ; } else { element . style . display = 'none' ; } }
Hide element if doesn't contain filter value

@param {Object} element
@private
Hide element if doesn t contain filter value