mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-23 19:57:38 +00:00
Make the core into a plugin
This commit is contained in:
@@ -90,8 +90,7 @@ exports.startup = function() {
|
||||
$tw.crypto.setPassword(null);
|
||||
});
|
||||
// Apply stylesheets
|
||||
var styleTiddlers = $tw.wiki.getTiddlersWithTag("$:/core/styles");
|
||||
$tw.utils.each(styleTiddlers,function(title) {
|
||||
$tw.utils.each($tw.modules.types.stylesheet,function(moduleInfo,title) {
|
||||
// Stylesheets don't refresh, yet
|
||||
var parser = $tw.wiki.parseTiddler(title),
|
||||
renderTree = new $tw.WikiRenderTree(parser,{wiki: $tw.wiki});
|
||||
|
Reference in New Issue
Block a user