Added missing comments
authorAlexander Ebert <ebert@woltlab.com>
Wed, 27 May 2015 21:35:06 +0000 (23:35 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 27 May 2015 21:35:06 +0000 (23:35 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Ajax/Request.js

index 78039062d4a57ca2f212b73f5c33fd888b51e058..5159795493a5ea142c092e91afc3edca26c43bfb 100644 (file)
@@ -1,9 +1,22 @@
+/**
+ * Versatile AJAX request handling.
+ * 
+ * In case you want to issue JSONP requests, please use `AjaxJsonp` instead.
+ * 
+ * @author     Alexander Ebert
+ * @copyright  2001-2015 WoltLab GmbH
+ * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @module     WoltLab/WCF/Ajax/Request
+ */
 define(['Core', 'Language', 'DOM/ChangeListener', 'DOM/Util', 'UI/Dialog', 'WoltLab/WCF/Ajax/Status'], function(Core, Language, DOMChangeListener, DOMUtil, UIDialog, AjaxStatus) {
        "use strict";
        
        var _didInit = false;
        var _ignoreAllErrors = false;
        
+       /**
+        * @constructor
+        */
        function AjaxRequest(options) {
                this._data = null;
                this._options = {};