diff --git a/plugins/draw-tools.user.js b/plugins/draw-tools.user.js index 1b64d539..0a40a18a 100644 --- a/plugins/draw-tools.user.js +++ b/plugins/draw-tools.user.js @@ -31,15 +31,14 @@ var DRAW_TOOLS_SHAPE_OPTIONS = { window.plugin.drawTools = function() {}; window.plugin.drawTools.loadExternals = function() { - var base = 'http://iitc.jonatkins.com/dist'; - //~ var base = 'http://0.0.0.0:8000/dist'; + var base = '@@RESOURCEURLBASE@@'; load(base+'/leaflet.draw.0.1.6.js').thenRun(window.plugin.drawTools.boot); // FIXME: this is currently manually included from // external/leaflet.draw.0.1.6.css. It should either be loaded remotely // automatically or the buildscript should include it here, similar to // how it works for the main script. - $('head').append(''); + $('head').append(''); } diff --git a/plugins/max-links.user.js b/plugins/max-links.user.js index 1e492c35..95bc0301 100644 --- a/plugins/max-links.user.js +++ b/plugins/max-links.user.js @@ -32,7 +32,7 @@ window.plugin.maxLinks.STROKE_STYLE = { clickable: false, smoothFactor: 10 }; -window.plugin.maxLinks._delaunayScriptLocation = 'http://iitc.jonatkins.com/dist/delaunay.js'; +window.plugin.maxLinks._delaunayScriptLocation = '@@RESOURCEURLBASE@@/delaunay.js'; window.plugin.maxLinks.layer = null;