ctx_new moved inside iframe to avoid inconsistencies, stream with commands added
[xynt.git] / web / xynt / xynt-http-streaming-ifra.js
diff --git a/web/xynt/xynt-http-streaming-ifra.js b/web/xynt/xynt-http-streaming-ifra.js
new file mode 100644 (file)
index 0000000..a854c05
--- /dev/null
@@ -0,0 +1,8 @@
+function push(s) {
+    if (s != null) {
+        ctx_new += "@BEGIN@"+s+"@END@";
+    }
+    else {
+        ctx_new += "_";
+    }
+}