Explicitly load tslib
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 9 Feb 2021 11:21:53 +0000 (12:21 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 9 Feb 2021 11:22:17 +0000 (12:22 +0100)
This should resolve #3951, because this performs a blocking load.

com.woltlab.wcf/templates/headIncludeJavaScript.tpl
wcfsetup/install/files/acp/templates/header.tpl

index bbefb0446c585f945619055f4b77561b6e6851a8..1ead75ef94229401d3eb96b83ca8ee796d2392bb 100644 (file)
@@ -29,6 +29,7 @@
 {js application='wcf' file='require.config' bundle='WoltLabSuite.Core' core='true' hasTiny=true}
 {js application='wcf' file='require.linearExecution' bundle='WoltLabSuite.Core' core='true' hasTiny=true}
 {js application='wcf' file='wcf.globalHelper' bundle='WoltLabSuite.Core' core='true' hasTiny=true}
+{js application='wcf' file='3rdParty/tslib' bundle='WoltLabSuite.Core' core='true' hasTiny=true}
 <script>
 requirejs.config({
        baseUrl: '{@$__wcf->getPath()}js',
index 04f641776a494f44442bd7109e023c2b4ab91552..44de63ea214b4d2add0088fd5c449bda518a56e7 100644 (file)
@@ -52,6 +52,7 @@
        {js application='wcf' file='require.config' bundle='WoltLabSuite.Core' core='true'}
        {js application='wcf' file='require.linearExecution' bundle='WoltLabSuite.Core' core='true'}
        {js application='wcf' file='wcf.globalHelper' bundle='WoltLabSuite.Core' core='true'}
+       {js application='wcf' file='3rdParty/tslib' bundle='WoltLabSuite.Core' core='true'}
        <script>
                requirejs.config({
                        baseUrl: '{@$__wcf->getPath()}js',