Changeset 2458

Show
Ignore:
Timestamp:
12/05/07 06:00:29 (5 years ago)
Author:
cho45
Message:

lang/javascript/jquery-deferred/doc/index.html,
lang/javascript/jquery-deferred/jquery-deferred.js:

update doc..

Location:
lang/javascript/jquery-deferred
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/jquery-deferred/doc/index.html

    r2457 r2458  
    131131                                 
    132132                                <div class="body"> 
    133                                 <p>This sets <var>fun</var> as errorback of self and return next Deferred. 
    134 If <var>fun</var> not throws error but returns normal value, Deferred treats 
     133                                <p>Create new Deferred and sets <var>fun</var> as its errorback.</p> 
     134<p>If <var>fun</var> not throws error but returns normal value, Deferred treats 
    135135the given error is recovery and continue callback chain. 
    136136 </p> 
     
    140140                        <div class="section" id="Deferred.prototype.call"> 
    141141                                 
    142                                 <h2><code>function Deferred.prototype.call   (val) //=&gt; void 0</code></h2> 
     142                                <h2><code>function Deferred.prototype.call   (val) //=&gt; this</code></h2> 
    143143                                 
    144144                                <div class="body"> 
     
    150150                        <div class="section" id="Deferred.prototype.fail"> 
    151151                                 
    152                                 <h2><code>function Deferred.prototype.fail   (err) //=&gt; void 0</code></h2> 
     152                                <h2><code>function Deferred.prototype.fail   (err) //=&gt; this</code></h2> 
    153153                                 
    154154                                <div class="body"> 
     
    160160                        <div class="section" id="Deferred.prototype.cancel"> 
    161161                                 
    162                                 <h2><code>function Deferred.prototype.cancel (err) //=&gt; void 0</code></h2> 
     162                                <h2><code>function Deferred.prototype.cancel (err) //=&gt; this</code></h2> 
    163163                                 
    164164                                <div class="body"> 
  • lang/javascript/jquery-deferred/jquery-deferred.js

    r2457 r2458  
    6262/* function Deferred.prototype.error  (fun) //=> Deferred 
    6363 * 
    64  * This sets `fun` as errorback of self and return next Deferred. 
     64 * Create new Deferred and sets `fun` as its errorback. 
     65 * 
    6566 * If `fun` not throws error but returns normal value, Deferred treats 
    6667 * the given error is recovery and continue callback chain. 
    6768 */ 
    68 /* function Deferred.prototype.call   (val) //=> void 0 
     69/* function Deferred.prototype.call   (val) //=> this 
    6970 * 
    7071 * Invokes self callback chain. 
    7172 */ 
    72 /* function Deferred.prototype.fail   (err) //=> void 0 
     73/* function Deferred.prototype.fail   (err) //=> this 
    7374 * 
    7475 * Invokes self errorback chain. 
    7576 */ 
    76 /* function Deferred.prototype.cancel (err) //=> void 0 
     77/* function Deferred.prototype.cancel (err) //=> this 
    7778 * 
    7879 * Cancels self callback chain.