tests/soup.js
authorAlan Knowles <alan@roojs.com>
Sun, 27 May 2012 07:48:41 +0000 (15:48 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 27 May 2012 07:48:41 +0000 (15:48 +0800)
tests/soup.js

index 1df0230..c3a6897 100644 (file)
@@ -74,6 +74,8 @@ XObject.extend(XMLHttpRequest,{
     
     
     _message : false,
+    _session : false,
+    _async   : false,
     
     // request
     open : function ( method,  url, async, user, password)
@@ -86,7 +88,7 @@ XObject.extend(XMLHttpRequest,{
 
         var uri = new Soup.URI.c_new(url);
         this._message = new Soup.Message({method: method, uri:uri});
-        _this.async = async;
+        this._async = async;
 
         
     },