From e368b357fdad97cabd30a8253f282d1904975a74 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 7 Oct 2014 14:58:47 +0200 Subject: [PATCH] Moved 3rd party stuff into WCF.Assets.js and enabled JS strict mode --- .../templates/headIncludeJavaScript.tpl | 1 + .../install/files/acp/templates/header.tpl | 1 + wcfsetup/install/files/js/.buildOrder | 1 + wcfsetup/install/files/js/WCF.ACL.js | 2 + wcfsetup/install/files/js/WCF.Assets.js | 65 ++++++++++++++++ wcfsetup/install/files/js/WCF.Attachment.js | 2 + wcfsetup/install/files/js/WCF.ColorPicker.js | 2 + wcfsetup/install/files/js/WCF.Comment.js | 2 + wcfsetup/install/files/js/WCF.ImageViewer.js | 2 + wcfsetup/install/files/js/WCF.Label.js | 2 + wcfsetup/install/files/js/WCF.Like.js | 2 + wcfsetup/install/files/js/WCF.Location.js | 2 + wcfsetup/install/files/js/WCF.Message.js | 2 + wcfsetup/install/files/js/WCF.Moderation.js | 2 + wcfsetup/install/files/js/WCF.Poll.js | 2 + .../install/files/js/WCF.Search.Message.js | 2 + wcfsetup/install/files/js/WCF.Tagging.js | 2 + wcfsetup/install/files/js/WCF.User.js | 2 + wcfsetup/install/files/js/WCF.js | 76 ++----------------- 19 files changed, 104 insertions(+), 68 deletions(-) create mode 100644 wcfsetup/install/files/js/WCF.Assets.js diff --git a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl index b1af84ab88..a756fa59ae 100644 --- a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl +++ b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl @@ -40,6 +40,7 @@ + {else} diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index dfaca4aeb2..c1aa649594 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -19,6 +19,7 @@ +