KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What's the best way to chain methods in CoffeeScript? For example, if I have this JavaScript how could I write it in CoffeeScript? var req = $.get('foo.htm') .success(function( response ){ // do something // ... }) .error(function(){ // do something // ... });
Tags (comma-separated)
Save Edits
Cancel