From b0ecc62e25239bb6094ac69f92c2bdda8152651c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 11 Feb 2016 14:27:13 +0100 Subject: [PATCH] Some minor adjustments --- wcfsetup/install/files/js/WoltLab/WCF/CallbackList.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Dom/Change/Listener.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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; }); -- 2.20.1