X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=index.html;fp=index.html;h=50aaef121c88b2dbe0d218453815ce618e67b21b;hb=a4146b8d04215650aa530ddc70fed17125e53f7c;hp=1024e5b8008fcb0f01d336f6d3abdcc550afabbc;hpb=549d7685dd4fe9ac422f0cbfdee3d0c604ad7173;p=cql-js-moved-to-github.git
diff --git a/index.html b/index.html
index 1024e5b..50aaef1 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,12 @@
try {
cp.parse(query);
document.getElementById("output").value = cp.toXCQL();
- document.getElementById("output2").value = cp.toFQ();
+ document.getElementById("output2").value = cp.toString();;
+ //re-parse fq to see the o/i matches
+ var fq = cp.toFQ();
+ document.getElementById("output3").value = fq;
+ cp.parseFromFQ(fq);
+ document.getElementById("output4").value = cp.toString();
} catch (e) {
document.getElementById("output").value = e.message;
document.getElementById("output2").value = e.message;
@@ -30,6 +35,8 @@
+
+