Changeset 83 for branches

Show
Ignore:
Timestamp:
11/21/06 15:54:31 (2 years ago)
Author:
Jan-Klaas Kollhof
Message:

some fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/experimental/jsolait/lib/dom.js

    r77 r83  
    3333**/ 
    3434class Event({ 
    35     publ __init__(type, target){ 
    36         this.type = type
     35    publ __init__(target){ 
     36        this.type = this.__class__.__name__
    3737        this.target = target; 
    3838    }; 
     
    4141    ///The target of the event 
    4242    publ target=null; 
     43 
     44    publ __str__(){ 
     45        return '[Event %s]'.format(this.type); 
     46     
     47    }; 
    4348}); 
    4449 
  • branches/experimental/jsolait/lib/urllib.js

    r79 r83  
    249249            if (xmlhttp.readyState==4) { 
    250250                callback(xmlhttp); 
    251                 xmlhttp.onreadystatechange = null; //help IE with garbage collection 
     251                //xmlhttp.onreadystatechange = null; //help IE with garbage collection 
    252252                xmlhttp = null;  
    253253            }else if (xmlhttp.readyState==2){