From 39db3357c3c9de9385c1f326b8bacae72074ace1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 19 May 2015 01:56:52 +0200 Subject: [PATCH] Explicitly define empty dependencies for define() --- .../install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/DOM/Util.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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'); -- 2.20.1