diff --git a/core/modules/startup/startup.js b/core/modules/startup/startup.js index d4f02efaf..7ea46f94b 100755 --- a/core/modules/startup/startup.js +++ b/core/modules/startup/startup.js @@ -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({