Remove .js suffix in require paths

Remove the .js suffix in require paths to make requires consistent
across the project.
This commit is contained in:
Hornwitser committed 2019-10-28 19:45:34 +01:00
1 parent 6bde8a2219
commit ff3fc3b94b
14 files changed
+21 -21

No files matched your search

+2 -2
View File
@@ -22,10 +22,10 @@ class masterPlugin {
// this.banlist = getDatabaseSync("database/banlist.json").banlist || [];
// initialize web API
require("./js/api-endpoints.js")(this);
require("./js/api-endpoints")(this);
// expose UI elements embedded in the master
this.ui = require("./js/ui.js").injectThis(this).ui;
this.ui = require("./js/ui").injectThis(this).ui;
this.serverSockets = {};