From 34bd7b9b8c29d5d7d72a18ed376d93fa7ba980fe Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 15 Nov 2009 23:35:25 +0100 Subject: jquery.rpc.js added (with various patches) --- jquery.rpc_2968.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 jquery.rpc_2968.patch (limited to 'jquery.rpc_2968.patch') diff --git a/jquery.rpc_2968.patch b/jquery.rpc_2968.patch new file mode 100644 index 0000000..94344c3 --- /dev/null +++ b/jquery.rpc_2968.patch @@ -0,0 +1,13 @@ +Also, the parseXMLValue function should probably trow an error, +instead of failing silently. + +--- jquery.rpc.js_1.txt 2008-05-23 13:39:21.000000000 +1200 ++++ jquery.rpc.js 2008-06-19 13:13:05.000000000 +1200 +@@ -58,6 +56,7 @@ +case 'boolean': +return (jQuery(childs[i]).text() == 1); +case 'int': ++ case 'i4': +return parseInt(jQuery(childs[i]).text()); +case 'double': +return parseFloat(jQuery(childs[i]).text()); -- cgit