X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/shared/extjs/App.js?ds=sidebyside diff --git a/examples/shared/extjs/App.js b/examples/shared/extjs/App.js index d6beaaf8..e642a0c3 100644 --- a/examples/shared/extjs/App.js +++ b/examples/shared/extjs/App.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.3.0 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -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, { /***