From b1b7d3bd13a8c02989d21bc899380858dc67cf0b Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 22 Aug 2014 10:52:40 +0100 Subject: [PATCH] Provide access to mkws.config.pazpar2_url (for now) with new API function mkws.pazpar2_url. We will later go on to make this assemble the URL from pieces. --- src/mkws-core.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mkws-core.js b/src/mkws-core.js index 15335eb..577d35b 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -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; -- 1.7.10.4