Some minor adjustments
authorAlexander Ebert <ebert@woltlab.com>
Thu, 11 Feb 2016 13:27:13 +0000 (14:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 11 Feb 2016 13:27:38 +0000 (14:27 +0100)
wcfsetup/install/files/js/WoltLab/WCF/CallbackList.js
wcfsetup/install/files/js/WoltLab/WCF/Dom/Change/Listener.js

index 0aa106ea35f8404dd211bdefb8087053545be822..94fdb469b5190d2db4f3af73321ff5163ac99768 100644 (file)
@@ -14,7 +14,7 @@ define(['Dictionary'], function(Dictionary) {
         */
        function CallbackList() {
                this._dictionary = new Dictionary();
-       };
+       }
        CallbackList.prototype = {
                /**
                 * Adds a callback for given identifier.
index fa3a299c879687aae35a63eb99bd3f4ae92350c2..0bd02c8d9bc9df45d84241895afbb349a79b08e8 100644 (file)
@@ -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;
 });