From 72e950f5349f9ab1ad9f2f5fecd7f11b23dadac7 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 4 Feb 2005 22:14:57 +0000 Subject: [PATCH] FIRST POST! ... dump numbers correctly in JSON git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@6 9efc2488-bf62-4759-914b-345cdb29e865 --- src/javascript/JSON.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/javascript/JSON.js b/src/javascript/JSON.js index 03ec070..3cee963 100644 --- a/src/javascript/JSON.js +++ b/src/javascript/JSON.js @@ -79,6 +79,8 @@ var i, o, u, v; } return 'null'; case 'unknown': + case 'number': + return arg; case 'undefined': case 'function': return u; -- 2.11.0