From b205da20079aa102381a646534b56710c7aac448 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Fri, 15 Jan 2021 17:55:52 +0100 Subject: [PATCH] Minor cleanup of startup.js (#5409) * Remove unused var declaration * Remove trailing whitespaces --- core/modules/startup/startup.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/modules/startup/startup.js b/core/modules/startup/startup.js index 781852cea..f681b71d1 100755 --- a/core/modules/startup/startup.js +++ b/core/modules/startup/startup.js @@ -23,7 +23,6 @@ var PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE = "$:/config/Performance/Instrument var widget = require("$:/core/modules/widgets/widget.js"); exports.startup = function() { - var modules,n,m,f; // Minimal browser detection if($tw.browser) { $tw.browser.isIE = (/msie|trident/i.test(navigator.userAgent)); @@ -66,10 +65,10 @@ exports.startup = function() { // Execute any startup actions $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction"); if($tw.browser) { - $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Browser"); + $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Browser"); } if($tw.node) { - $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Node"); + $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Node"); } // Kick off the language manager and switcher $tw.language = new $tw.Language();