From f28e65ab8035682372edbe1c11d9ca2581e0a2e6 Mon Sep 17 00:00:00 2001 From: marzavec Date: Wed, 6 Nov 2019 23:35:23 -0800 Subject: Syntax update and formatting tweaks --- server/main.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'server/main.js') diff --git a/server/main.js b/server/main.js index 70042e8..b01d09d 100644 --- a/server/main.js +++ b/server/main.js @@ -1,15 +1,12 @@ /** * HackChat main server entry point - * - * Version: v2.0.0 - * Developer: Marzavec ( https://github.com/marzavec ) - * License: WTFPL ( http://www.wtfpl.net/txt/copying/ ) - * + * @author Marzavec ( https://github.com/marzavec ) + * @version v2.0.0 + * @license WTFPL ( http://www.wtfpl.net/txt/copying/ ) */ -'use strict'; - // import and initialize the core application -const CoreApp = require('./src/serverLib/CoreApp'); +import { CoreApp } from './src/serverLib/CoreApp'; + const coreApp = new CoreApp(); coreApp.init(); -- cgit v1.2.1