diff --git a/doc/async.md b/doc/async.md index 7cf522b..757e545 100644 --- a/doc/async.md +++ b/doc/async.md @@ -29,7 +29,7 @@ showsWait = async.before (callback) -> jQuery('img#wait').show() callback() hidesWait = async.after (callback) -> - jQuery('img#wait').show() + jQuery('img#wait').hide() callback() myFunnyObject = @@ -120,4 +120,4 @@ Notes 1. Another, more sophisticated approach uses Promises or [Deferred Objects]. Future method combinators may interoperate with deferred objects. 2. The async combinators are based largely on work by [Nate Murray](https://github.com/jashmenn). -[Deferred Objects]:http://api.jquery.com/category/deferred-object/ \ No newline at end of file +[Deferred Objects]:http://api.jquery.com/category/deferred-object/