mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-02 15:23:31 -08:00
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. |
||
|---|---|---|
| .. | ||
| boot.css.tid | ||
| boot.js | ||
| bootprefix.js | ||
| sjcl.js | ||
| sjcl.js.meta | ||