[luci] [PATCH] Fix JSON NaN
Christian Gagneraud
chris at techworks.ie
Mon Apr 16 12:12:13 CEST 2012
Hi,
The attached patch fixes the JSON generation when dealing with NaN (not
a number), this makes the JSON parsing in the web browser succeed
(before it would get a "nan" which is not a valid JS value)
Chris
--
Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Ireland
Tel: + 353 (0) 1 236 5990
Web: http://www.techworks.ie/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lua-http-fix-json-nan.patch
Type: text/x-patch
Size: 526 bytes
Desc: not available
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20120416/b804012a/attachment.bin>
More information about the luci
mailing list