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