XMLHttpRequest.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 25 Nov 2012 12:47:44 +0000 (20:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 25 Nov 2012 12:47:44 +0000 (20:47 +0800)
XMLHttpRequest.js

index 49608e9..06a33f8 100644 (file)
@@ -87,6 +87,12 @@ XMLHttpRequest.prototype = {
     send  : function(data)
     {
         data = data|| false;
+        
+        if (typeof(date) == 'object') {
+            // params..
+            
+        }
+        
         if (data) {
             this._message.set_request('application/x-www-form-urlencoded', Soup.MemoryUse.COPY, data, data.length)
         }