mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-09 01:54:07 +00:00
Missed off the previous commit
This commit is contained in:
parent
3d0d8556f2
commit
e9996b7fe4
@ -526,7 +526,7 @@ var fs = require("fs"),
|
|||||||
/*
|
/*
|
||||||
Load the tiddlers contained in a particular file (and optionally the accompanying .meta file)
|
Load the tiddlers contained in a particular file (and optionally the accompanying .meta file)
|
||||||
*/
|
*/
|
||||||
$tw.loadTiddlersFromFile = function(file,basetitle) {
|
$tw.plugins.loadTiddlersFromFile = function(file,basetitle) {
|
||||||
var ext = path.extname(file),
|
var ext = path.extname(file),
|
||||||
fields = {
|
fields = {
|
||||||
title: basetitle
|
title: basetitle
|
||||||
@ -559,7 +559,7 @@ $tw.plugins.loadPlugins = function(filepath,basetitle) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if(stat.isFile()) {
|
} else if(stat.isFile()) {
|
||||||
$tw.loadTiddlersFromFile(filepath,basetitle);
|
$tw.plugins.loadTiddlersFromFile(filepath,basetitle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user