forked from MTSR/mapserver
luacheck / jshint
This commit is contained in:
parent
616690bf0b
commit
a0bc59c693
@ -17,6 +17,7 @@ read_globals = {
|
|||||||
|
|
||||||
-- Deps
|
-- Deps
|
||||||
"unified_inventory", "default", "advtrains",
|
"unified_inventory", "default", "advtrains",
|
||||||
|
"minecart",
|
||||||
|
|
||||||
-- optional mods
|
-- optional mods
|
||||||
"xban"
|
"xban"
|
||||||
|
@ -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
|
||||||
|
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user