Skip to content

Instantly share code, notes, and snippets.



Forked from gbau/filters.js
Last active Oct 21, 2015
What would you like to do?
var appliedFilters = {};
function anyFilterApplied() {
return Object.keys(appliedFilters).length > 0;
function applyFilter(filter, key) {
appliedFilters[key] = filter;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment