[PATCH] HTML: export valid JSON.

Gehad Elrobey gehadelrobey at gmail.com
Thu Aug 28 01:20:54 PDT 2014


I attached a patch that fixes the trailing commas problem, and make the
file valid according to the specifications.

as I described in the commit message that loading a pure json file from
local drive is not allowed by most web-browsers, javascripts object are
saved instead to be dynamically loaded to the html page.
anyone have ideas to change this?

Regards,
Gehad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140828/320ceae3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-HTML-export-valid-JSON.patch
Type: text/x-patch
Size: 22276 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140828/320ceae3/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-HTML-Changing-the-files-extensions-to-js.patch
Type: text/x-patch
Size: 2926 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140828/320ceae3/attachment-0003.bin>


More information about the subsurface mailing list