]> git.pond.sub.org Git - eow/blobdiff - static/eow.js
Add thread safe queue. Use to push updates to client.
[eow] / static / eow.js
index f85607584d06d431ba35b1851bb9cdbf19b9fc5a..00b34ee239e46328344d35e3fbf85a4f097b524e 100644 (file)
@@ -8,8 +8,9 @@ function eowOut(output) {
 function hello() {
   dojo.xhrGet( {
     // The following URL must match that used to test the server.
 function hello() {
   dojo.xhrGet( {
     // The following URL must match that used to test the server.
-    url: "/eow/static/ajax.txt", 
+    url: "/eow/update", 
     handleAs: "javascript",
     handleAs: "javascript",
+    //handleAs: "text",
 
     timeout: 5000, // Time in milliseconds
 
 
     timeout: 5000, // Time in milliseconds