Added an simple event system and readded some functions from the legacy Part-DB.

This commit is contained in:
Jan Böhmer 2019-03-26 16:34:14 +01:00
parent 570aa68535
commit 3e54d35fac
3 changed files with 180 additions and 3 deletions

View file

@ -53,7 +53,13 @@ import {ajaxUI} from "../ts_src/ajax_ui";
window.ajaxUI = ajaxUI;
//Start AjaxUI
//Require all events;
require('../ts_src/event_listeners');
//Start AjaxUI AFTER all event has been registered
$(document).ready(ajaxUI.start());
//console.log('Hello Webpack Encore! Edit me in assets/js/app.js');