Changeset 39
- Timestamp:
- 01/27/06 12:00:51 (3 years ago)
- Files:
-
- trunk/jsolait/lib/dom.js (modified) (1 diff)
- trunk/jsolait/lib/urllib.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/jsolait/lib/dom.js
r30 r39 32 32 **/ 33 33 mod.Event=Class(function(publ, supr){ 34 publ.__init__=function(type, target){ 35 this.type = type; 36 this.target = target; 37 }; 34 38 ///The event type. 35 39 publ.type=null; 40 ///The target of the event 41 publ.target=null; 36 42 }); 37 43 trunk/jsolait/lib/urllib.js
r22 r39 316 316 return mod.sendRequest.apply(this,a); 317 317 }; 318 319 320 /** 321 Returns wether or not the module is usable or not. 322 @return True if the module can make HTTP requests, false otherwise. 323 **/ 324 mod.isUsable=function(){ 325 try{ 326 getHTTP(); 327 return true; 328 }catch(e){ 329 return false 330 } 331 }; 332 318 333 }); 319 334
