From 42a6faf32c089c81f0c7f767d94e78f8f4fef376 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 4 May 2015 01:09:42 +0200 Subject: [PATCH] Register jQuery by it's proper requirejs name --- com.woltlab.wcf/templates/headIncludeJavaScript.tpl | 2 +- wcfsetup/install/files/js/WoltLab/WCF/UI/Mobile.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl index 02685ae5d0..814f75286f 100644 --- a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl +++ b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl @@ -151,7 +151,7 @@ console.debug(ui); });*/ - define('jQuery', [], function() { return window.jQuery; }); + define('jquery', [], function() { return window.jQuery; }); $.holdReady(true); require(['WoltLab/WCF/Bootstrap'], function(bootstrap) { diff --git a/wcfsetup/install/files/js/WoltLab/WCF/UI/Mobile.js b/wcfsetup/install/files/js/WoltLab/WCF/UI/Mobile.js index 4507453d41..ea3fc4fbc5 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/UI/Mobile.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/UI/Mobile.js @@ -6,7 +6,7 @@ * @license GNU Lesser General Public License * @module WoltLab/WCF/UI/Mobile */ -define(['jQuery', 'enquire', 'DOM/Traverse'], function($, enquire, DOMTraverse) { +define(['jquery', 'enquire', 'DOM/Traverse'], function($, enquire, DOMTraverse) { "use strict"; var _buttonGroupNavigations = null; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js b/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js index 0da4910e65..7db6b87554 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js @@ -6,7 +6,7 @@ * @license GNU Lesser General Public License * @module WoltLab/WCF/UI/TabMenu/Simple */ -define(['jQuery', 'Dictionary', 'DOM/Util', 'EventHandler'], function($, Dictionary, DOMUtil, EventHandler) { +define(['jquery', 'Dictionary', 'DOM/Util', 'EventHandler'], function($, Dictionary, DOMUtil, EventHandler) { "use strict"; /** -- 2.20.1