From: Mike Taylor Date: Fri, 22 Aug 2014 09:52:40 +0000 (+0100) Subject: Provide access to mkws.config.pazpar2_url (for now) with new API X-Git-Tag: 1.0.0~39^2~7^2~3 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=b1b7d3bd13a8c02989d21bc899380858dc67cf0b;p=mkws-moved-to-github.git 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. --- 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;