/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
*/
/**
* Ext.App
* @author Chris Scott
*/
Ext.App = function(config) {
-
- // set up StateProvider
- this.initStateProvider();
-
- // array of views
this.views = [];
-
+
+ this.initStateProvider();
+
Ext.apply(this, config);
- if (!this.api.actions) { this.api.actions = {}; }
-
- // init when onReady fires.
+
+ if (!this.api.actions) {
+ this.api.actions = {};
+ }
+
Ext.onReady(this.onReady, this);
-
+
Ext.App.superclass.constructor.apply(this, arguments);
-}
+};
+
Ext.extend(Ext.App, Ext.util.Observable, {
/***