1
0
forked from MTSR/mapserver

luacheck / jshint

This commit is contained in:
NatureFreshMilk 2019-05-02 11:14:27 +02:00
parent 616690bf0b
commit a0bc59c693
3 changed files with 4 additions and 3 deletions

View File

@ -17,6 +17,7 @@ read_globals = {
-- Deps -- Deps
"unified_inventory", "default", "advtrains", "unified_inventory", "default", "advtrains",
"minecart",
-- optional mods -- optional mods
"xban" "xban"

View File

@ -1,6 +1,6 @@
mapserver = { mapserver = {
enable_crafting = minetest.settings:get("mapserver.enable_crafting") enable_crafting = minetest.settings:get("mapserver.enable_crafting"),
bridge = {} bridge = {}
} }
@ -27,7 +27,7 @@ if http then
print("[Mapserver] starting mapserver-bridge with endpoint: " .. mapserver_url) print("[Mapserver] starting mapserver-bridge with endpoint: " .. mapserver_url)
dofile(MP .. "/bridge/init.lua") dofile(MP .. "/bridge/init.lua")
mapserver.bridge_init(http, mapserver_url, mapserver_key) mapserver.bridge_init(http, mapserver_url, mapserver_key)
else else

View File

@ -3,7 +3,7 @@
var PoiOverlay = AbstractIconOverlay.extend({ var PoiOverlay = AbstractIconOverlay.extend({
initialize: function(wsChannel, layerMgr) { initialize: function(wsChannel, layerMgr) {
AbstractIconOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "poi", PoiIcon); AbstractIconOverlay.prototype.initialize.call(this, wsChannel, layerMgr, "poi");
}, },
getIcon: function(obj){ getIcon: function(obj){