%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby27/root/usr/share/passenger/templates/error_renderer/with_details/src/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby27/root/usr/share/passenger/templates/error_renderer/with_details/src/index.jsx

/** @jsx h */
import { render, h } from 'preact';
import 'jquery';
import './bootstrap/bootstrap.css';
import './bootstrap/bootstrap.js';
import PageMain from './PageMain.jsx';
import './PageMain.css';

window.errorPageExtensions = [];

function initialize(pageMain) {
  window.ErrorPage = pageMain;
  for (var i = 0; i < window.errorPageExtensions.length; i++) {
    window.errorPageExtensions[i]();
  }
}

window.renderErrorPage = function() {
  render(
    <PageMain spec={window.spec} ref={ initialize } />,
    document.getElementById('root')
  );
}

Zerion Mini Shell 1.0