From: Matthias Schmidt Date: Sat, 30 Jul 2016 17:20:36 +0000 (+0200) Subject: Fix JavaScript issues X-Git-Tag: 3.0.0_Beta_1~866 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f0115fd9b95113fbef78af1c72bd746f2dba92c8;p=GitHub%2FWoltLab%2FWCF.git Fix JavaScript issues --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Article/Add.js b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Article/Add.js index 85aa9e2515..fda2a2eac3 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Article/Add.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Article/Add.js @@ -59,5 +59,5 @@ define(['Core', 'Language', 'Ui/Dialog'], function(Core, Language, UiDialog) { } }; } - } + }; }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Add.js b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Add.js index 4ab6b63641..a949633037 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Add.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Add.js @@ -69,5 +69,5 @@ define(['Core', 'Language', 'Ui/Dialog'], function(Core, Language, UiDialog) { } }; } - } + }; }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Page/Add.js b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Page/Add.js index 08c439fdf0..cbdc4719e0 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Page/Add.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Page/Add.js @@ -62,5 +62,5 @@ define(['Core', 'Language', 'Ui/Dialog'], function(Core, Language, UiDialog) { } }; } - } + }; }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Style/Image/Upload.js b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Style/Image/Upload.js index cefd66435f..955eef1feb 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Style/Image/Upload.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Style/Image/Upload.js @@ -60,7 +60,7 @@ define(['Core', 'Dom/Traverse', 'Language', 'Ui/Notification', 'Upload'], functi this._button.parentNode.appendChild(error); } - error.textContent = Language.get('wcf.acp.style.image.error.' + data.returnValues.errorType) + error.textContent = Language.get('wcf.acp.style.image.error.' + data.returnValues.errorType); } } }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Captcha.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Captcha.js index 252c698898..cfeea23eea 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Captcha.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Captcha.js @@ -23,7 +23,7 @@ define(['Dictionary'], function(Dictionary) { */ add: function(captchaId, callback) { if (_captchas.has(captchaId)) { - throw new Error("Captcha with id '" + captchaId + "' is already registered.") + throw new Error("Captcha with id '" + captchaId + "' is already registered."); } if (typeof callback !== 'function') { @@ -40,7 +40,7 @@ define(['Dictionary'], function(Dictionary) { */ 'delete': function(captchaId) { if (!_captchas.has(captchaId)) { - throw new Error("Unknown captcha with id '" + captchaId + "'.") + throw new Error("Unknown captcha with id '" + captchaId + "'."); } _captchas.delete(captchaId)(); @@ -64,7 +64,7 @@ define(['Dictionary'], function(Dictionary) { */ getData: function(captchaId) { if (!_captchas.has(captchaId)) { - throw new Error("Unknown captcha with id '" + captchaId + "'.") + throw new Error("Unknown captcha with id '" + captchaId + "'."); } return _captchas.get(captchaId)(); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js index 7576f85c23..6ee856e9aa 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js @@ -77,7 +77,7 @@ define(['Dom/ChangeListener', 'Dom/Traverse', 'EventHandler', 'ObjectMap'], func elHide(hiddenElements[i]); } - _hiddenElements.set(dependentElement, []) + _hiddenElements.set(dependentElement, []); }, _showDependentElement: function(dependentElement) { @@ -94,6 +94,4 @@ define(['Dom/ChangeListener', 'Dom/Traverse', 'EventHandler', 'ObjectMap'], func } } }; - - return ControllerConditionPageDependence; }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Core.js b/wcfsetup/install/files/js/WoltLab/WCF/Core.js index 84b4b7b4cf..7334663671 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Core.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Core.js @@ -63,7 +63,7 @@ define([], function() { return url.replace(/^index\.php\/(.*?)\/\?/, function(match, controller) { var parts = controller.split(/([A-Z][a-z0-9]+)/); - var controller = ''; + controller = ''; for (var i = 0, length = parts.length; i < length; i++) { var part = parts[i].trim(); if (part.length) { diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js index 772d942aca..85507d400c 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js @@ -154,7 +154,7 @@ define(['DateUtil', 'Language', 'ObjectMap', 'Dom/ChangeListener', 'Ui/Alignment } if (!hasClass) { - element.classList.add('short') + element.classList.add('short'); } _data.set(element, { diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js b/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js index 98f805d6c7..81d9dd6d34 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js @@ -18,7 +18,7 @@ define(['Core'], function(Core) { */ function Dictionary() { this._dictionary = (_hasMap) ? new Map() : {}; - }; + } Dictionary.prototype = { /** * Sets a new key with given value, will overwrite an existing key. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/File/Util.js b/wcfsetup/install/files/js/WoltLab/WCF/File/Util.js index 213693a027..844d7226ca 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/File/Util.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/File/Util.js @@ -7,6 +7,8 @@ * @module WoltLab/WCF/File/Util */ define([], function() { + "use strict"; + /** * @exports WoltLab/WCF/File/Util */ diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js b/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js index aec198f99e..b98090df02 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js @@ -159,7 +159,7 @@ define(['Dictionary', 'Language', 'Dom/Traverse', 'Dom/Util', 'ObjectMap', 'Ui/S dropdownToggle.innerHTML = listItem.firstChild.innerHTML; } - listItem.addEventListener(WCF_CLICK_EVENT, callbackClick) + listItem.addEventListener(WCF_CLICK_EVENT, callbackClick); } else if (languageId === 0) { dropdownToggle.innerHTML = null; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Editor.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Editor.js index 7f2fbab9e1..c789084c16 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Editor.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Editor.js @@ -38,7 +38,7 @@ define( this._media = null; this._dialogs = new Dictionary(); - }; + } MediaEditor.prototype = { /** * Returns the data for Ajax to setup the Ajax/Request object. @@ -222,7 +222,7 @@ define( */ edit: function(media) { if (this._media !== null) { - throw new Error("Cannot edit media with id '" + media.mediaID + "' while editing media with id '" + this._media.mediaID + "'") + throw new Error("Cannot edit media with id '" + media.mediaID + "' while editing media with id '" + this._media.mediaID + "'"); } this._media = media; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js index 4d53faaadc..b06dafb645 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js @@ -42,7 +42,7 @@ define( } DomChangeListener.add('WoltLab/WCF/Media/Manager', this._addButtonEventListeners.bind(this)); - }; + } MediaManagerBase.prototype = { /** * Adds click event listeners to media buttons. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js index fa23a9ef9d..4571f2dc39 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js @@ -26,7 +26,7 @@ define(['Core', 'Dictionary', 'Dom/Traverse', 'Language', 'Ui/Dialog', 'WoltLab/ } this._mediaToInsert = new Dictionary(); this._mediaToInsertByClipboard = false; - }; + } Core.inherit(MediaManagerEditor, MediaManagerBase, { /** * @see WoltLab/WCF/Media/Manager/Base#_addButtonEventListeners @@ -119,7 +119,7 @@ define(['Core', 'Dictionary', 'Dom/Traverse', 'Language', 'Ui/Dialog', 'WoltLab/ title: Language.get('wcf.media.insert') }, source: dialog - } + }; }).bind(this) }); }, diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js index f2bdd5cbf3..d2b362d8a4 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js @@ -23,7 +23,7 @@ define(['Ajax', 'Core', 'Dom/Traverse', 'Dom/Util', 'Language', 'WoltLab/WCF/Med this._cancelButton = elById(this._getIdPrefix() + 'SearchCancelButton'); this._cancelButton.addEventListener(WCF_CLICK_EVENT, this._cancelSearch.bind(this)); - }; + } Core.inherit(MediaManagerSearch, MediaSearch, { /** * Returns the data for Ajax to setup the Ajax/Request object. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Select.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Select.js index fcc44dc8d2..2954793826 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Select.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Select.js @@ -45,7 +45,7 @@ define(['Core', 'Dom/Traverse', 'Dom/Util', 'Language', 'ObjectMap', 'Ui/Dialog' } } } - }; + } Core.inherit(MediaManagerSelect, MediaManagerBase, { /** * @see WoltLab/WCF/Media/Manager/Base#_addButtonEventListeners diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Search.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Search.js index ceec34dfea..aa88a1bcd2 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Search.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Search.js @@ -51,7 +51,7 @@ define(['Ajax', 'Dom/Traverse', 'Dom/Util', 'Language', 'Ui/SimpleDropdown'], fu else { this._fileType = null; } - }; + } MediaSearch.prototype = { /** * Returns the prefix to identify search-related elements. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Upload.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Upload.js index 6e63317d02..aba3291f15 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Upload.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Upload.js @@ -37,7 +37,7 @@ define( multiple: this._mediaManager ? true : false, singleFileRequests: true }, options)); - }; + } Core.inherit(MediaUpload, Upload, { /** * @see WoltLab/WCF/Upload#_createFileElement diff --git a/wcfsetup/install/files/js/WoltLab/WCF/ObjectMap.js b/wcfsetup/install/files/js/WoltLab/WCF/ObjectMap.js index 073fb8f5ed..1399586a16 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/ObjectMap.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/ObjectMap.js @@ -18,7 +18,7 @@ define([], function() { */ function ObjectMap() { this._map = (_hasMap) ? new WeakMap() : { key: [], value: [] }; - }; + } ObjectMap.prototype = { /** * Sets a new key with given value, will overwrite an existing key. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Template.js b/wcfsetup/install/files/js/WoltLab/WCF/Template.js index 47c39d7a41..0620d9a205 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Template.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Template.js @@ -45,7 +45,7 @@ define(['./Template.grammar', './StringUtil', 'Language'], function(parser, Stri console.debug(e.message); throw e; } - }; + } Object.defineProperty(Template, 'callbacks', { enumerable: false, diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Timer/Repeating.js b/wcfsetup/install/files/js/WoltLab/WCF/Timer/Repeating.js index baa94f72b2..0fd86977b2 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Timer/Repeating.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Timer/Repeating.js @@ -33,7 +33,7 @@ define([], function() { this._timer = undefined; this.restart(); - }; + } Repeating.prototype = { /** * Stops the timer and restarts it. The next call will occur in `delta` milliseconds. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js index 1004588aea..5e86fc2c98 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js @@ -66,7 +66,7 @@ define( this.initContainers(options, objectType); - DomChangeListener.add('WoltLab/WCF/Ui/Like/Handler-' + objectType, this.initContainers.bind(this)) + DomChangeListener.add('WoltLab/WCF/Ui/Like/Handler-' + objectType, this.initContainers.bind(this)); }, /** diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Menu/Abstract.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Menu/Abstract.js index 19c4a388fd..185fdf507c 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Menu/Abstract.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Menu/Abstract.js @@ -367,7 +367,7 @@ define(['Environment', 'EventHandler', 'ObjectMap', 'Dom/Traverse', 'Dom/Util', _updateDepth: function(increase) { this._depth += (increase) ? 1 : -1; - this._menu.children[0].style.setProperty('transform', 'translateX(' + (this._depth * -100) + '%)', '') + this._menu.children[0].style.setProperty('transform', 'translateX(' + (this._depth * -100) + '%)', ''); } }; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js index 0fae363b86..6f832091a4 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js @@ -149,7 +149,7 @@ define(['Dom/Util'], function(DomUtil) { lastMatchingParent = this._getLastMatchingParent(strikeElement, editorElement, tagName); if (lastMatchingParent !== null) { - this._handleParentNodes(strikeElement, lastMatchingParent, tagName) + this._handleParentNodes(strikeElement, lastMatchingParent, tagName); } // remove offending elements from child nodes diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Page.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Page.js index b5b6c86405..210c5ad950 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Page.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Page.js @@ -14,7 +14,7 @@ define(['WoltLab/WCF/Ui/Page/Search'], function(UiPageSearch) { init: function (editor, button) { this._editor = editor; - button.addEventListener(WCF_CLICK_EVENT, this._click.bind(this)) + button.addEventListener(WCF_CLICK_EVENT, this._click.bind(this)); }, _click: function (event) { diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Scroll.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Scroll.js index ff759d83ae..a872499897 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Scroll.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Scroll.js @@ -80,5 +80,5 @@ define(['Dom/Util'], function(DomUtil) { _timeoutScroll = null; }, 100); } - } + }; }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Suggestion.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Suggestion.js index 5928e7af84..3aed6eff16 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Suggestion.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Suggestion.js @@ -14,7 +14,7 @@ define(['Ajax', 'Core', 'Ui/SimpleDropdown'], function(Ajax, Core, UiSimpleDropd * @param {string} elementId input element id * @param {object} options option list */ - function UiSuggestion(elementId, options) { this.init(elementId, options); }; + function UiSuggestion(elementId, options) { this.init(elementId, options); } UiSuggestion.prototype = { /** * Initializes a new suggestion input. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/List.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/List.js index a36316579d..11c9150566 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/List.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/List.js @@ -12,7 +12,7 @@ define(['Ajax', 'Core', 'Dictionary', 'Dom/Util', 'Ui/Dialog', 'WoltLab/WCF/Ui/P /** * @constructor */ - function UiUserList(options) { this.init(options); }; + function UiUserList(options) { this.init(options); } UiUserList.prototype = { /** * Initializes the user list. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Follow.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Follow.js index 4506029572..67fa968ae2 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Follow.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Follow.js @@ -23,7 +23,7 @@ define(['Core', 'Language', 'Ui/Notification', './Abstract'], function(Core, Lan data: { className: 'wcf\\data\\user\\follow\\UserFollowAction' } - } + }; } }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Ignore.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Ignore.js index 41d9779103..92e5a130d4 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Ignore.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Ignore.js @@ -23,7 +23,7 @@ define(['Core', 'Language', 'Ui/Notification', './Abstract'], function(Core, Lan data: { className: 'wcf\\data\\user\\ignore\\UserIgnoreAction' } - } + }; } }); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Upload.js b/wcfsetup/install/files/js/WoltLab/WCF/Upload.js index cbbf507299..55a3bd7fde 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Upload.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Upload.js @@ -52,7 +52,7 @@ define(['AjaxRequest', 'Core', 'Dom/ChangeListener', 'Language', 'Dom/Util', 'Do this._internalFileId = 0; this._createButton(); - }; + } Upload.prototype = { /** * Creates the upload button. diff --git a/wcfsetup/install/files/js/require.build-acp.js b/wcfsetup/install/files/js/require.build-acp.js index ae2aca4184..dbaf368a8e 100644 --- a/wcfsetup/install/files/js/require.build-acp.js +++ b/wcfsetup/install/files/js/require.build-acp.js @@ -48,4 +48,4 @@ return contents; } -}) +}); diff --git a/wcfsetup/install/files/js/require.build.js b/wcfsetup/install/files/js/require.build.js index c2f504e97d..12ac7bb7aa 100644 --- a/wcfsetup/install/files/js/require.build.js +++ b/wcfsetup/install/files/js/require.build.js @@ -59,4 +59,4 @@ return contents; } -}) +}); diff --git a/wcfsetup/install/files/js/require.linearExecution.js b/wcfsetup/install/files/js/require.linearExecution.js index e134fbbfce..4729d6725d 100644 --- a/wcfsetup/install/files/js/require.linearExecution.js +++ b/wcfsetup/install/files/js/require.linearExecution.js @@ -29,5 +29,5 @@ queue.shift()(); } - }; + } })(window);