Merge pull request #204 from Hornwitser/refactor-master

Refactor master to fix unit tests
This commit is contained in:
Arvids Godjuks authored and GitHub committed 2019-08-23 14:45:47 +03:00
commit d72bcbdf01
6 files changed
+200 -199

No files matched your search

+2 -2
View File
@@ -14,8 +14,8 @@
<%# Very ugly ejs code to hide the Players button if the playerManager plugin isn`t installed %>
<%
sidebarPluginButtonsHtml = "";
for(let o in masterPlugins){
let plug = masterPlugins[o];
for(let o in locals.masterPlugins){
let plug = locals.masterPlugins[o];
if(plug.main
&& plug.main.ui
&& typeof plug.main.ui.sidebar == "object"
+2 -2
View File
@@ -40,8 +40,8 @@
</ul>
${findInArray("modName", "remoteMap", slave.mods).length ? "<a href='/remoteMap?instanceID="+id+"'>Remote map</a>" : ""}
`
for(let o in masterPlugins){
let plug = masterPlugins[o];
for(let o in locals.masterPlugins){
let plug = locals.masterPlugins[o];
if(plug.main
&& plug.main.ui
&& typeof plug.main.ui.slaveListing == "object"