- Timestamp:
- 11/21/06 15:54:31 (2 years ago)
- Files:
-
- branches/experimental/jsolait/lib/dom.js (modified) (2 diffs)
- branches/experimental/jsolait/lib/urllib.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/experimental/jsolait/lib/dom.js
r77 r83 33 33 **/ 34 34 class Event({ 35 publ __init__(t ype, target){36 this.type = t ype;35 publ __init__(target){ 36 this.type = this.__class__.__name__; 37 37 this.target = target; 38 38 }; … … 41 41 ///The target of the event 42 42 publ target=null; 43 44 publ __str__(){ 45 return '[Event %s]'.format(this.type); 46 47 }; 43 48 }); 44 49 branches/experimental/jsolait/lib/urllib.js
r79 r83 249 249 if (xmlhttp.readyState==4) { 250 250 callback(xmlhttp); 251 xmlhttp.onreadystatechange = null; //help IE with garbage collection251 //xmlhttp.onreadystatechange = null; //help IE with garbage collection 252 252 xmlhttp = null; 253 253 }else if (xmlhttp.readyState==2){
