mochi / mochikit

MochiKit makes JavaScript suck less

Home Page:http://mochi.github.io/mochikit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Async: document Async.Deferred.fired property

blq opened this issue · comments

from http://trac.mochikit.com/ticket/344

In the documentation for Async.Deferred at http://mochikit.com/doc/html/MochiKit/Async.html#fn-deferred the three states of the Deferred (-1, 0, 1) are mentioned. But it is not quite clear how to obtain the state. the word "fired" is only mentioned in the running text. I think the property ".fired" should be clearly included in the formal specification/documentation for Deferred.

Also, http://mochikit.com/doc/html/MochiKit/Async.html#fn-genericerror mentions a non-existing "failed" method of the Deferred object, it should be removed.

Regards
// Fredrik Blomqvist

Added state() method for MochiKit.Async.Deferred. Also clarified docs on available properties. Closed by 99d21b1.