projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea023c7
)
check for "jQuery JSON" and "pazpar2" javascript libs
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 1 Dec 2014 15:28:54 +0000
(15:28 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 1 Dec 2014 15:28:54 +0000
(15:28 +0000)
test/spec/mkws-config.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-config.js
b/test/spec/mkws-config.js
index
cfabc18
..
33bd277
100644
(file)
--- 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) {