X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/examples/shared/extjs/App.js diff --git a/examples/shared/extjs/App.js b/examples/shared/extjs/App.js index bc4c004e..ed378f78 100644 --- a/examples/shared/extjs/App.js +++ b/examples/shared/extjs/App.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.1.0 - * 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 @@ -10,21 +10,21 @@ * @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, { /***