projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218f27c
)
don't not init mkws_debug, this will be done later by the widget app, MKWS-27
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 5 Jul 2013 14:28:42 +0000
(14:28 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 5 Jul 2013 14:28:42 +0000
(14:28 +0000)
This doesn't really make a difference, but the code gets more readable.
experiments/spclient/mkws.js
patch
|
blob
|
history
diff --git
a/experiments/spclient/mkws.js
b/experiments/spclient/mkws.js
index
84bb074
..
f4e9646
100644
(file)
--- 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/";