Skip to content

Instantly share code, notes, and snippets.

@gdiggs gdiggs/gist:1028275
Created Jun 15, 2011

What would you like to do?
top down shit
$('form').live('submit', submitForm(e, $(this)) );
var submitForm = function(e, $form) {
// make sure we want to do shit
// stuff we do after doing shit
var doShit = function() {
// some data
success: shitSuccess()
var shitSuccess = function() {
// fuck yeah

This comment has been minimized.

Copy link

modality commented Jun 15, 2011

this is some good shit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.