3 * Copyright(c) 2007-2017, Roo J Solutions Ltd
11 * @extends Roo.util.Observable
12 * This is a convience class to wrap up the main document loading code.. , rather than adding Roo.onReady(......)
14 * @param {Object} config the methods and properties of the 'base' class for the application.
19 * Generic Page handler - implement this to start your app..
24 * MyProject = new Roo.Document({
26 'load' : true // your events..
29 'ready' : function() {
30 // fired on Ext.onReady()
35 Roo.Document = function(cfg) {
40 Roo.util.Observable.call(this,cfg);
42 Roo.onReady(function() {
43 _this.fireEvent('ready');
47 Roo.extend(Roo.Document, Roo.util.Observable, {});