From: Wolfram Schneider Date: Fri, 5 Jul 2013 14:28:42 +0000 (+0000) Subject: don't not init mkws_debug, this will be done later by the widget app, MKWS-27 X-Git-Tag: 0.9.1~310 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=15694650eb5ea2b7b3bba5f0c73d618ef40aad25;p=mkws-moved-to-github.git don't not init mkws_debug, this will be done later by the widget app, MKWS-27 This doesn't really make a difference, but the code gets more readable. --- diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index 84bb074..f4e9646 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -16,7 +16,8 @@ if (!mkws_config) if (typeof mkws_config.use_service_proxy === 'undefined') mkws_config.use_service_proxy = true; -var mkws_debug = 1; +// global debug flag +var mkws_debug; var pazpar2_url = mkws_config.pazpar2_url ? mkws_config.pazpar2_url : "/pazpar2/search.pz2"; var service_proxy_url = mkws_config.service_proxy_url ? mkws_config.service_proxy_url : "http://mkws.indexdata.com/service-proxy/";