From: Wolfram Schneider Date: Mon, 1 Dec 2014 15:28:54 +0000 (+0000) Subject: check for "jQuery JSON" and "pazpar2" javascript libs X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=4b169e81f4f04255481ae415583ff9bb463656a5;p=mkws-moved-to-github.git check for "jQuery JSON" and "pazpar2" javascript libs --- diff --git a/test/spec/mkws-config.js b/test/spec/mkws-config.js index cfabc18..33bd277 100644 --- a/test/spec/mkws-config.js +++ b/test/spec/mkws-config.js @@ -17,6 +17,15 @@ describe("Check for external JavaScript libs", function () { expect(typeof mkws.$).not.toBe('undefined'); }); + // jquery.json-2.4.js + it("jQuery JSON", function () { + expect(typeof mkws.$.toJSON).not.toBe('undefined'); + }); + + it("pazpar2", function () { + expect(typeof pz2).not.toBe('undefined'); + }); + it("jQuery UI", function () { // if we have a popup widget, check for the jQuery UI lib if (mkws.$(".mkws-popup").length > 0) {