Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / src / data / Batch.js
index 51971b5..2aec07c 100644 (file)
@@ -1,3 +1,17 @@
+/*
+
+This file is part of Ext JS 4
+
+Copyright (c) 2011 Sencha Inc
+
+Contact:  http://www.sencha.com/contact
+
+GNU General Public License Usage
+This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file.  Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
+
+If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
+
+*/
 /**
  * @author Ed Spencer
  * @class Ext.data.Batch
@@ -8,8 +22,6 @@
  * 
  * <p>Usually these are only used internally by {@link Ext.data.proxy.Proxy} classes</p>
  * 
- * @constructor
- * @param {Object} config Optional config object
  */
 Ext.define('Ext.data.Batch', {
     mixins: {
@@ -65,6 +77,10 @@ Ext.define('Ext.data.Batch', {
      */
     pauseOnException: true,
     
+    /**
+     * Creates new Batch object.
+     * @param {Object} config (optional) Config object
+     */
     constructor: function(config) {   
         var me = this;
                      
@@ -182,4 +198,4 @@ Ext.define('Ext.data.Batch', {
             me.proxy[operation.action](operation, onProxyReturn, me);
         }
     }
-});
\ No newline at end of file
+});