function match(device) {
        for (var i = 0, l = activeFilters.length; i < l; ++i) {
          var filter = activeFilters[i]
          var column
          if (filter.field) {
            column = scope.columnDefinitions[filter.field]
            if (column && !column.filter(device, filter)) {
              return false
            }
          }
          else {
            var found = false
            for (var j = 0, k = activeColumns.length; j < k; ++j) {
              column = scope.columnDefinitions[activeColumns[j]]
              if (column && column.filter(device, filter)) {
                found = true
                break
              }
            }
            if (!found) {
              return false
            }
          }
        }
        return true
      }
// Checks whether the device matches the currently active filters.
Checks whether the device matches the currently active filters.
Checks whether the device matches the currently active filters .
function match(device) {
        for (var i = 0, l = activeFilters.length; i < l; ++i) {
          var filter = activeFilters[i]
          var column
          if (filter.field) {
            column = scope.columnDefinitions[filter.field]
            if (column && !column.filter(device, filter)) {
              return false
            }
          }
          else {
            var found = false
            for (var j = 0, k = activeColumns.length; j < k; ++j) {
              column = scope.columnDefinitions[activeColumns[j]]
              if (column && column.filter(device, filter)) {
                found = true
                break
              }
            }
            if (!found) {
              return false
            }
          }
        }
        return true
      }
function match ( device ) { for ( var i = 0 , l = activeFilters . length ; i < l ; ++ i ) { var filter = activeFilters [ i ] var column if ( filter . field ) { column = scope . columnDefinitions [ filter . field ] if ( column && ! column . filter ( device , filter ) ) { return false } } else { var found = false for ( var j = 0 , k = activeColumns . length ; j < k ; ++ j ) { column = scope . columnDefinitions [ activeColumns [ j ] ] if ( column && column . filter ( device , filter ) ) { found = true break } } if ( ! found ) { return false } } } return true }
Checks whether the device matches the currently active filters.
Checks whether the device matches the currently active filters .