profiler.js 431 B

123456789101112131415
  1. Ext.onReady(function() {
  2. MODx.load({ xtype: 'xbug-page-profiler'});
  3. });
  4. xBug.page.Profiler = function(config) {
  5. config = config || {};
  6. Ext.applyIf(config,{
  7. components: [{
  8. xtype: 'xbug-panel-profiler'
  9. }]
  10. });
  11. xBug.page.Profiler.superclass.constructor.call(this,config);
  12. };
  13. Ext.extend(xBug.page.Profiler,MODx.Component);
  14. Ext.reg('xbug-page-profiler',xBug.page.Profiler);