From 4b169e81f4f04255481ae415583ff9bb463656a5 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 1 Dec 2014 15:28:54 +0000 Subject: [PATCH] check for "jQuery JSON" and "pazpar2" javascript libs --- test/spec/mkws-config.js | 9 +++++++++ 1 file changed, 9 insertions(+) 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) { -- 1.7.10.4