Changeset 293

Show
Ignore:
Timestamp:
09/28/07 00:35:04 (14 months ago)
Author:
secondlife
Message:

fix my mailaddress and onUpdate call timing

Location:
lang/javascript/jstweener/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/jstweener/trunk/licence.txt

    r253 r293  
    1 Yuichi Tateno. <hotch_potch@N0!spam@gmail.com> 
     1Yuichi Tateno. <hotchpotch@N0!spam@gmail.com> 
    22http://rails2u.com/ 
    33 
  • lang/javascript/jstweener/trunk/src/JSTweener.js

    r253 r293  
    114114                } 
    115115                this.objects.splice(i, 1); 
     116 
     117                if (typeof o.onUpdate == 'function') { 
     118                    if (o.onUpdateParams) { 
     119                        o.onUpdate.apply(o, o.onUpdateParams); 
     120                    } else { 
     121                        o.onUpdate(); 
     122                    } 
     123                } 
     124 
    116125                if (typeof o.onComplete == 'function') { 
    117126                    if (o.onCompleteParams) {