From: Alexander Ebert Date: Thu, 11 Feb 2016 13:27:13 +0000 (+0100) Subject: Some minor adjustments X-Git-Tag: 3.0.0_Beta_1~2030^2~91 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0ecc62e25239bb6094ac69f92c2bdda8152651c;p=GitHub%2FWoltLab%2FWCF.git Some minor adjustments --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/CallbackList.js b/wcfsetup/install/files/js/WoltLab/WCF/CallbackList.js index 0aa106ea35..94fdb469b5 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/CallbackList.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/CallbackList.js @@ -14,7 +14,7 @@ define(['Dictionary'], function(Dictionary) { */ function CallbackList() { this._dictionary = new Dictionary(); - }; + } CallbackList.prototype = { /** * Adds a callback for given identifier. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Dom/Change/Listener.js b/wcfsetup/install/files/js/WoltLab/WCF/Dom/Change/Listener.js index fa3a299c87..0bd02c8d9b 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Dom/Change/Listener.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Dom/Change/Listener.js @@ -16,7 +16,7 @@ define(['CallbackList'], function(CallbackList) { /** * @exports WoltLab/WCF/Dom/Change/Listener */ - var Listener = { + return { /** * @see WoltLab/WCF/CallbackList#add */ @@ -47,6 +47,4 @@ define(['CallbackList'], function(CallbackList) { } } }; - - return Listener; });