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.
16 * Generic Page handler - implement this to start your app..
19 * MyProject = new Roo.Document({
21 'load' : true // your events..
24 'ready' : function() {
25 // fired on Roo.onReady()
30 Roo.Document = function(cfg) {
35 Roo.util.Observable.call(this,cfg);
39 Roo.onReady(function() {
40 _this.fireEvent('ready');
46 Roo.extend(Roo.Document, Roo.util.Observable, {});