From: Tim Düsterhus Date: Mon, 18 May 2015 23:56:52 +0000 (+0200) Subject: Explicitly define empty dependencies for define() X-Git-Tag: 3.0.0_Beta_1~2385^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=39db3357c3c9de9385c1f326b8bacae72074ace1;p=GitHub%2FWoltLab%2FWCF.git Explicitly define empty dependencies for define() --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js index 43a5648f25..7df379022f 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js @@ -6,7 +6,7 @@ * @license GNU Lesser General Public License * @module WoltLab/WCF/Controller/Notice/Dismiss */ -define(function() { +define([], function() { "use strict"; /** diff --git a/wcfsetup/install/files/js/WoltLab/WCF/DOM/Util.js b/wcfsetup/install/files/js/WoltLab/WCF/DOM/Util.js index e52e90440e..596f88370f 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/DOM/Util.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/DOM/Util.js @@ -6,7 +6,7 @@ * @license GNU Lesser General Public License * @module WoltLab/WCF/DOM/Util */ -define(function() { +define([], function() { "use strict"; var _matchesSelectorFunction = ''; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js b/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js index 3998242a02..277adbb8cf 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js @@ -6,7 +6,7 @@ * @license GNU Lesser General Public License * @module WoltLab/WCF/Dictionary */ -define(function() { +define([], function() { "use strict"; var _hasMap = window.hasOwnProperty('Map');