1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
TiddlyWiki5/boot
Jermolene edd3156430 Improve loading/importing of JSON files
First part of fix for #3875

The idea is to do a better of job of distinguishing JSON files that contain tiddlers versus those that contain plain blobs of JSON that should be stored as a single application/json tiddler.

Under Node.js, .json files with an accompanying metafile are always treated as a JSON blob. Without a meta file, those that appear to not contain valid tiddlers are returned as a JSON blob, otherwise the tiddlers within the file are imported.

In the browser, we don't have .meta files so we rely on the valid tiddler check.
2019-04-13 14:47:27 +01:00
..
boot.css.tid Tweaks for RSOD adjustments 7468ad7 2018-05-10 15:29:31 +01:00
boot.js Improve loading/importing of JSON files 2019-04-13 14:47:27 +01:00
bootprefix.js Minor tweaks to boot kernel for AWS 2015-12-19 18:52:25 +00:00
sjcl.js Update Stanford JavaScript Library to 1.0.7 2017-07-18 15:42:35 +01:00
sjcl.js.meta Make the core into a plugin 2013-03-28 17:07:30 +00:00