Skip to content

Instantly share code, notes, and snippets.

@clalimarmo

clalimarmo/filters.js

Forked from gbau/filters.js
Last active Oct 21, 2015
Embed
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