Skip to content

Instantly share code, notes, and snippets.

@lastlegion
Created July 19, 2014 18:54
Show Gist options
  • Save lastlegion/7cb31d00f76a6c00451d to your computer and use it in GitHub Desktop.
Save lastlegion/7cb31d00f76a6c00451d to your computer and use it in GitHub Desktop.
var fake_dimension = {
filter: function(f) { //Create filtering function
if(f) {
queryFilter[fake_dimension] = f; //Set filter in query filter
refresh(); //Make the AJAX call.
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment