Provide access to mkws.config.pazpar2_url (for now) with new API
authorMike Taylor <mike@indexdata.com>
Fri, 22 Aug 2014 09:52:40 +0000 (10:52 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 22 Aug 2014 09:52:40 +0000 (10:52 +0100)
function mkws.pazpar2_url. We will later go on to make this assemble
the URL from pieces.

src/mkws-core.js

index 15335eb..577d35b 100644 (file)
@@ -359,6 +359,11 @@ mkws.pagerNext = function(tname) {
 };
 
 
+mkws.pazpar2_url = function() {
+  return mkws.config.pazpar2_url;
+};
+
+
 // wrapper to provide local copy of the jQuery object.
 (function($) {
   var log = mkws.log;