mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-24 13:30:55 -08:00
Fix from mismerging from master
This commit is contained in:
parent
8467fa333d
commit
624cf95197
1 changed files with 0 additions and 10 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue