mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-23 19:57:38 +00:00
Add support for macro modules
Now JavaScript macros can be defined in "macro" modules
This commit is contained in:
@@ -28,6 +28,7 @@ exports.startup = function() {
|
||||
$tw.modules.applyMethods("tiddlermethod",$tw.Tiddler.prototype);
|
||||
$tw.modules.applyMethods("wikimethod",$tw.Wiki.prototype);
|
||||
$tw.modules.applyMethods("tiddlerdeserializer",$tw.Wiki.tiddlerDeserializerModules);
|
||||
$tw.macros = $tw.modules.getModulesByTypeAsHashmap("macro");
|
||||
// Set up the parsers
|
||||
$tw.wiki.initParsers();
|
||||
// Set up the syncer object
|
||||
|
Reference in New Issue
Block a user