Skip to content

Instantly share code, notes, and snippets.

@noel
Created May 30, 2011 20:30
Show Gist options
  • Save noel/999422 to your computer and use it in GitHub Desktop.
Save noel/999422 to your computer and use it in GitHub Desktop.
how is this done in .coffee
$('#user_button').toggle(function () {
$("#user_button").css({borderBottomLeftRadius: "0px"});
}, function () {
$("#user_button").css({borderBottomLeftRadius: "5px"});
});
$('#user_button').toggle( -> {
$("#user_button").css({borderBottomLeftRadius: "0px"})
}, -> {
$("#user_button").css({borderBottomLeftRadius: "5px"})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment