Remove unnecessary data attributes on script tags
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 29 May 2015 00:38:34 +0000 (02:38 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 29 May 2015 00:38:34 +0000 (02:38 +0200)
com.woltlab.wcf/templates/headIncludeJavaScript.tpl

index dfa75709f49a3005bdfe084737d749e04d6c1193..117f7a404104f79dc0434a13dc1844088a7ff00c 100644 (file)
@@ -116,7 +116,7 @@ requirejs.config({
 
 {if JQUERY_SOURCE == 'google'}
 <script data-relocate="true" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery{if !ENABLE_DEBUG_MODE}.min{/if}.js"></script>
-<script data-relocate="true" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui{if !ENABLE_DEBUG_MODE}.min{/if}.js" data-requiremodule="jquery-ui" data-requirecontext="_"></script>
+<script data-relocate="true" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui{if !ENABLE_DEBUG_MODE}.min{/if}.js"></script>
 {elseif JQUERY_SOURCE == 'microsoft'}
 <script data-relocate="true" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.3{if !ENABLE_DEBUG_MODE}.min{/if}.js"></script>
 <script data-relocate="true" src="//ajax.aspnetcdn.com/ajax/jquery.ui/1.11.2/jquery-ui{if !ENABLE_DEBUG_MODE}.min{/if}.js"></script>
@@ -131,7 +131,7 @@ requirejs.config({
 <script data-relocate="true">
        if (!window.jQuery) {
                document.write('<script src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@LAST_UPDATE_TIME}"><\/script>');
-               document.write('<script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@LAST_UPDATE_TIME}" data-requiremodule="jquery-ui" data-requirecontext="_"><\/script>');
+               document.write('<script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@LAST_UPDATE_TIME}"><\/script>');
        }
 </script>
 {/if}