From c1f7615fa2a5dcc15fa3ed7962016537dd31bbfd Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 22 Jun 2010 17:18:44 +0200 Subject: Make fixing MIME type again (includes creation of util.httpPOST) - it is useful to have variable in the same module where the function using it is. - a lot of this magic and mystery - add this.win property - yuhooo, we have timer module, so I don't have to fish it from this.doc.defaultView (which doesn't work anyway) --- lib/xmlrpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xmlrpc.js') diff --git a/lib/xmlrpc.js b/lib/xmlrpc.js index f074f39..7ae622c 100644 --- a/lib/xmlrpc.js +++ b/lib/xmlrpc.js @@ -19,7 +19,7 @@ var XMLRPCMessage = exports.XMLRPCMessage = function XMLRPCMessage(methodname) { this.method = methodname || "system.listMethods"; this.params = []; return this; -} +}; XMLRPCMessage.prototype.setMethod = function(methodName) { if (!methodName) return; -- cgit