Changeset 2820

Show
Ignore:
Timestamp:
12/08/07 01:52:27 (5 years ago)
Author:
cho45
Message:

lang/javascript/jsdeferred/trunk/jsdeferred.mini.js,
lang/javascript/jsdeferred/trunk/jsdeferred.jquery.js,
lang/javascript/jsdeferred/trunk/jsdeferred.js,
lang/javascript/jsdeferred/trunk/jsdeferred.nodoc.js,
lang/javascript/jsdeferred/trunk/jsdeferred.userscript.js:

= の位置あわせが遠いと不自然なので順番変更

Location:
lang/javascript/jsdeferred/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/jsdeferred/trunk/jsdeferred.jquery.js

    r2817 r2820  
    44Deferred.prototype={ 
    55init:function(){ 
    6 this.callback={ 
     6this._next=null;this.callback={ 
    77ok:function(x){return x}, 
    88ng:function(x){throw x} 
    9 };this._next=null;return this;}, 
     9};return this;}, 
    1010next:function(fun){return this._post("ok",fun)}, 
    1111error:function(fun){return this._post("ng",fun)}, 
  • lang/javascript/jsdeferred/trunk/jsdeferred.js

    r2817 r2820  
    8282Deferred.prototype = { 
    8383        init : function () { 
     84                this._next    = null; 
    8485                this.callback = { 
    8586                        ok: function (x) { return x }, 
    8687                        ng: function (x) { throw  x } 
    8788                }; 
    88                 this._next    = null; 
    8989                return this; 
    9090        }, 
  • lang/javascript/jsdeferred/trunk/jsdeferred.mini.js

    r2817 r2820  
    44Deferred.prototype={ 
    55init:function(){ 
    6 this.callback={ 
     6this._next=null;this.callback={ 
    77ok:function(x){return x}, 
    88ng:function(x){throw x} 
    9 };this._next=null;return this;}, 
     9};return this;}, 
    1010next:function(fun){return this._post("ok",fun)}, 
    1111error:function(fun){return this._post("ng",fun)}, 
  • lang/javascript/jsdeferred/trunk/jsdeferred.nodoc.js

    r2817 r2820  
    44Deferred.prototype = { 
    55        init : function () { 
     6                this._next    = null; 
    67                this.callback = { 
    78                        ok: function (x) { return x }, 
    89                        ng: function (x) { throw  x } 
    910                }; 
    10                 this._next    = null; 
    1111                return this; 
    1212        }, 
  • lang/javascript/jsdeferred/trunk/jsdeferred.userscript.js

    r2817 r2820  
    88Deferred.prototype = { 
    99        init : function () { 
     10                this._next    = null; 
    1011                this.callback = { 
    1112                        ok: function (x) { return x }, 
    1213                        ng: function (x) { throw  x } 
    1314                }; 
    14                 this._next    = null; 
    1515                return this; 
    1616        },