11 lines
262 B
JavaScript
11 lines
262 B
JavaScript
// 1st party.
|
|
import {App} from './app';
|
|
// Application.
|
|
const app = new App();
|
|
// Create the socket connection.
|
|
app.connect();
|
|
// Render into the DOM.
|
|
app.renderIntoDom(document.querySelector('.app'));
|
|
// Just inject it into global for now.
|
|
window.humus = app;
|