X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/examples/shared/extjs/App.js?ds=sidebyside diff --git a/examples/shared/extjs/App.js b/examples/shared/extjs/App.js index 1cd3f16e..ed378f78 100644 --- a/examples/shared/extjs/App.js +++ b/examples/shared/extjs/App.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.2.1 - * Copyright(c) 2006-2010 Ext JS, Inc. - * 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, { /***