Skip to content

Instantly share code, notes, and snippets.

Avatar

Carlos Lalimarmo clalimarmo

View GitHub Profile
View filters.js
var appliedFilters = {};
function anyFilterApplied() {
return Object.keys(appliedFilters).length > 0;
}
function applyFilter(filter, key) {
appliedFilters[key] = filter;
}