Changeset 2458
- Timestamp:
- 12/05/07 06:00:29 (5 years ago)
- Location:
- lang/javascript/jquery-deferred
- Files:
-
- 2 modified
-
doc/index.html (modified) (4 diffs)
-
jquery-deferred.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/jquery-deferred/doc/index.html
r2457 r2458 131 131 132 132 <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 treats133 <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 135 135 the given error is recovery and continue callback chain. 136 136 </p> … … 140 140 <div class="section" id="Deferred.prototype.call"> 141 141 142 <h2><code>function Deferred.prototype.call (val) //=> void 0</code></h2>142 <h2><code>function Deferred.prototype.call (val) //=> this</code></h2> 143 143 144 144 <div class="body"> … … 150 150 <div class="section" id="Deferred.prototype.fail"> 151 151 152 <h2><code>function Deferred.prototype.fail (err) //=> void 0</code></h2>152 <h2><code>function Deferred.prototype.fail (err) //=> this</code></h2> 153 153 154 154 <div class="body"> … … 160 160 <div class="section" id="Deferred.prototype.cancel"> 161 161 162 <h2><code>function Deferred.prototype.cancel (err) //=> void 0</code></h2>162 <h2><code>function Deferred.prototype.cancel (err) //=> this</code></h2> 163 163 164 164 <div class="body"> -
lang/javascript/jquery-deferred/jquery-deferred.js
r2457 r2458 62 62 /* function Deferred.prototype.error (fun) //=> Deferred 63 63 * 64 * This sets `fun` as errorback of self and return next Deferred. 64 * Create new Deferred and sets `fun` as its errorback. 65 * 65 66 * If `fun` not throws error but returns normal value, Deferred treats 66 67 * the given error is recovery and continue callback chain. 67 68 */ 68 /* function Deferred.prototype.call (val) //=> void 069 /* function Deferred.prototype.call (val) //=> this 69 70 * 70 71 * Invokes self callback chain. 71 72 */ 72 /* function Deferred.prototype.fail (err) //=> void 073 /* function Deferred.prototype.fail (err) //=> this 73 74 * 74 75 * Invokes self errorback chain. 75 76 */ 76 /* function Deferred.prototype.cancel (err) //=> void 077 /* function Deferred.prototype.cancel (err) //=> this 77 78 * 78 79 * Cancels self callback chain.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)