Skip to content

Instantly share code, notes, and snippets.

@kswlee
Created June 27, 2012 15:52
Show Gist options
  • Select an option

  • Save kswlee/3004984 to your computer and use it in GitHub Desktop.

Select an option

Save kswlee/3004984 to your computer and use it in GitHub Desktop.
// vs. with chaining
$("#menu").fadeIn('fast').addClass("active").css('marginRight', '10px');
// or
$("#menu").fadeIn('fast')
.addClass("active")
.css('marginRight', '10px');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment