X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=inline;f=index.html;h=50aaef121c88b2dbe0d218453815ce618e67b21b;hb=1ef699c132ea658c29450a223fa78661e10969aa;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 @@
+
+