diff --git a/dvb-app/scripts/haltestellen.js b/dvb-app/scripts/haltestellen.js index 3ba984a..cd979e8 100644 --- a/dvb-app/scripts/haltestellen.js +++ b/dvb-app/scripts/haltestellen.js @@ -1,6 +1,7 @@ // server url var serverUrl = "http://widgets.vvo-online.de/abfahrtsmonitor/"; + // xmlhttp object function function getHTTPObject() { @@ -48,6 +49,7 @@ function ajaxCall(dataUrl, outputElement, callback) { } + // wrap all in anonymous function to get out of global scope (function() {