humus-old/client/index.js
2019-04-19 22:29:38 -05:00

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;