kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Removed extraneous console.log
rodzic
0dec33b354
commit
8b154231d3
|
@ -533,7 +533,6 @@ $tw.plugins.loadTiddlersFromFile = function(file,basetitle) {
|
||||||
data = fs.readFileSync(file).toString(extensionInfo ? extensionInfo.encoding : "utf8"),
|
data = fs.readFileSync(file).toString(extensionInfo ? extensionInfo.encoding : "utf8"),
|
||||||
tiddlers = $tw.wiki.deserializeTiddlers(ext,data,fields),
|
tiddlers = $tw.wiki.deserializeTiddlers(ext,data,fields),
|
||||||
metafile = file + ".meta";
|
metafile = file + ".meta";
|
||||||
console.log("loadTiddlersFromFile",file,basetitle,tiddlers);
|
|
||||||
if(ext !== ".json" && tiddlers.length === 1 && path.existsSync(metafile)) {
|
if(ext !== ".json" && tiddlers.length === 1 && path.existsSync(metafile)) {
|
||||||
var metadata = fs.readFileSync(metafile).toString("utf8");
|
var metadata = fs.readFileSync(metafile).toString("utf8");
|
||||||
if(metadata) {
|
if(metadata) {
|
||||||
|
|
Ładowanie…
Reference in New Issue