Skip to content

Instantly share code, notes, and snippets.

@dcolthorp
Created June 29, 2011 11:39
Show Gist options
  • Save dcolthorp/1053689 to your computer and use it in GitHub Desktop.
Save dcolthorp/1053689 to your computer and use it in GitHub Desktop.
function formatMessage(m) {
return $.extend({ "addClass()": "status-"+m.value }, m);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment