blob: 94344c39cbfaf2e480661d731342af26f70c4088 (
plain) (
tree)
|
|
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());
|