diff --git a/core/boot.js b/core/boot.js index df86321cb..c6b7a578b 100644 --- a/core/boot.js +++ b/core/boot.js @@ -544,7 +544,7 @@ $tw.boot.wikiPath = process.cwd(); /* Load the tiddlers contained in a particular file (and optionally the accompanying .meta file) */ -$tw.plugins.loadTiddlersFromFile = function(file,fields,wiki) { +$tw.loadTiddlersFromFile = function(file,fields,wiki) { wiki = wiki || $tw.wiki; var ext = path.extname(file), extensionInfo = $tw.config.fileExtensions[ext], @@ -563,7 +563,7 @@ $tw.plugins.loadTiddlersFromFile = function(file,fields,wiki) { /* Load all the plugins from the plugins directory */ -$tw.plugins.loadPluginsFromFolder = function(filepath,basetitle,excludeRegExp,wiki) { +$tw.loadTiddlersFromFolder = function(filepath,basetitle,excludeRegExp,wiki) { basetitle = basetitle || "$:/plugins"; excludeRegExp = excludeRegExp || /^\.DS_Store$|.meta$/; wiki = wiki || $tw.wiki.shadows; @@ -576,19 +576,19 @@ $tw.plugins.loadPluginsFromFolder = function(filepath,basetitle,excludeRegExp,wi // If so, process the files it describes var pluginInfo = JSON.parse(fs.readFileSync(filepath + "/tiddlywiki.plugin").toString("utf8")); for(var p=0; p