1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-16 07:43:16 +00:00

Fix from mismerging from master

This commit is contained in:
Jeremy Ruston 2025-03-06 21:44:16 +00:00
parent 8467fa333d
commit 624cf95197

View File

@ -52,16 +52,6 @@ exports.startup = function() {
}
// Initialise version
$tw.version = $tw.utils.extractVersionInfo();
// Set up the performance framework
$tw.perf = new $tw.Performance($tw.wiki.getTiddlerText(PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE,"no") === "yes");
// Create a root widget for attaching event handlers. By using it as the parentWidget for another widget tree, one can reuse the event handlers
$tw.rootWidget = new widget.widget({
type: "widget",
children: []
},{
wiki: $tw.wiki,
document: $tw.browser ? document : $tw.fakeDocument
});
// Kick off the language manager and switcher
$tw.language = new $tw.Language();
$tw.languageSwitcher = new $tw.PluginSwitcher({