Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / src / app / Application.js
index cf86c72..9dbc85b 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.
+
+*/
 /**
  * @class Ext.app.Application
  * @extend Ext.app.Controller
  * files whenever we add a new class, but more importantly it enables us to create a minimized build of our entire 
  * application using the Ext JS 4 SDK Tools.
  * 
- * For more information about writing Ext JS 4 applications, please see the <a href="../guide/application_architecture">
- * application architecture guide</a>.
+ * For more information about writing Ext JS 4 applications, please see the
+ * [application architecture guide](#/guide/application_architecture).
  * 
  * @docauthor Ed Spencer
- * @constructor
  */
 Ext.define('Ext.app.Application', {
     extend: 'Ext.app.Controller',
@@ -111,6 +124,10 @@ Ext.define('Ext.app.Application', {
      */
     autoCreateViewport: false,
 
+    /**
+     * Creates new Application.
+     * @param {Object} config (optional) Config object.
+     */
     constructor: function(config) {
         config = config || {};
         Ext.apply(this, config);
@@ -240,3 +257,4 @@ Ext.define('Ext.app.Application', {
         return Ext.ClassManager.get(view);
     }
 });
+