diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-08-27 20:19:20 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-28 07:43:14 -0700 |
commit | abfa4f2108080d17aec969c56b0b4d546b85365c (patch) | |
tree | 6c4917df6bd1b572511b526b4df7bca58ddb88cf /qt-ui | |
parent | 4099aca82d3e70add15f0c5a770e6ec1c8bcf790 (diff) | |
download | subsurface-abfa4f2108080d17aec969c56b0b4d546b85365c.tar.gz |
HTML: export valid JSON.
Remove the trailing commas from the exported JSON file as some json
parsers just don't like it. The file 'file.json' is valid acording to
the JSON spesification.
Note: its a javascript file containing a JS variable 'trips' and not a
JSON file. Because loading a pure JSON file from local disk is not
accepted by the web-browsers itself. Actually I think changing the file
extension to .js is now makes more sense.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
0 files changed, 0 insertions, 0 deletions