Skip to content

Instantly share code, notes, and snippets.

@mogox
Created October 6, 2011 17:25
Show Gist options
  • Save mogox/1268017 to your computer and use it in GitHub Desktop.
Save mogox/1268017 to your computer and use it in GitHub Desktop.
Mixpanel Javascript Object for testing
var mpq = {}
fns = ["init","track","track_links","track_forms","register","register_once","identify","name_tag","set_config"];
_.each(fns, function(f) {
mpq[f] = function() { return true };
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment