Create a gist now

Instantly share code, notes, and snippets.

//within the callback
$(window).trigger('jsonLoaded');
$(window).bind('jsonLoaded', function() {
//do something
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment