Fossil SCM
Added initial prototype of JSON wiki editor (cannot save yet). Minor cleanup in ajax/index.html.
Commit
475c61fd5929cf1b43ed716512f612d27093bb79
Parent
a9c8a31df50ab27…
2 files changed
+1
-3
+22
+1
-3
| --- ajax/index.html | ||
| +++ ajax/index.html | ||
| @@ -32,11 +32,11 @@ | ||
| 32 | 32 | var TheApp = { |
| 33 | 33 | response:null, |
| 34 | 34 | sessionID:null, |
| 35 | 35 | jqe:{}/*jqe==jQuery Elements*/, |
| 36 | 36 | ajaxCount:0, |
| 37 | - cgi: new WhAjaj.Connector() | |
| 37 | + cgi: new FossilAjaj() | |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | TheApp.startAjaxNotif = function() |
| 42 | 42 | { |
| @@ -123,12 +123,10 @@ | ||
| 123 | 123 | keyup(function(event){ |
| 124 | 124 | if(event.keyCode == 13){ |
| 125 | 125 | TheApp.sendRequest(); |
| 126 | 126 | } |
| 127 | 127 | }); |
| 128 | - | |
| 129 | - TheApp.cgi = new FossilAjaj(); | |
| 130 | 128 | TheApp.timer = { |
| 131 | 129 | _tstart:0,_tend:0,duration:0, |
| 132 | 130 | start:function(){ |
| 133 | 131 | this._tstart = (new Date()).getTime(); |
| 134 | 132 | }, |
| 135 | 133 | |
| 136 | 134 | ADDED ajax/wiki-editor.html |
| --- ajax/index.html | |
| +++ ajax/index.html | |
| @@ -32,11 +32,11 @@ | |
| 32 | var TheApp = { |
| 33 | response:null, |
| 34 | sessionID:null, |
| 35 | jqe:{}/*jqe==jQuery Elements*/, |
| 36 | ajaxCount:0, |
| 37 | cgi: new WhAjaj.Connector() |
| 38 | }; |
| 39 | |
| 40 | |
| 41 | TheApp.startAjaxNotif = function() |
| 42 | { |
| @@ -123,12 +123,10 @@ | |
| 123 | keyup(function(event){ |
| 124 | if(event.keyCode == 13){ |
| 125 | TheApp.sendRequest(); |
| 126 | } |
| 127 | }); |
| 128 | |
| 129 | TheApp.cgi = new FossilAjaj(); |
| 130 | TheApp.timer = { |
| 131 | _tstart:0,_tend:0,duration:0, |
| 132 | start:function(){ |
| 133 | this._tstart = (new Date()).getTime(); |
| 134 | }, |
| 135 | |
| 136 | DDED ajax/wiki-editor.html |
| --- ajax/index.html | |
| +++ ajax/index.html | |
| @@ -32,11 +32,11 @@ | |
| 32 | var TheApp = { |
| 33 | response:null, |
| 34 | sessionID:null, |
| 35 | jqe:{}/*jqe==jQuery Elements*/, |
| 36 | ajaxCount:0, |
| 37 | cgi: new FossilAjaj() |
| 38 | }; |
| 39 | |
| 40 | |
| 41 | TheApp.startAjaxNotif = function() |
| 42 | { |
| @@ -123,12 +123,10 @@ | |
| 123 | keyup(function(event){ |
| 124 | if(event.keyCode == 13){ |
| 125 | TheApp.sendRequest(); |
| 126 | } |
| 127 | }); |
| 128 | TheApp.timer = { |
| 129 | _tstart:0,_tend:0,duration:0, |
| 130 | start:function(){ |
| 131 | this._tstart = (new Date()).getTime(); |
| 132 | }, |
| 133 | |
| 134 | DDED ajax/wiki-editor.html |
+22
| --- a/ajax/wiki-editor.html | ||
| +++ b/ajax/wiki-editor.html | ||
| @@ -0,0 +1,22 @@ | ||
| 1 | +<!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; | |
| 2 | + optoptopt//alert("onResponse this:<!DO!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; | |
| 3 | + optoptopt//alert("onResponse this:<!DOOCTYPElist){ | |
| 4 | + varempty(); | |
| 5 | + var i, p, a; | |
| 6 | +a = jQuery(a.text(name). | |
| 7 | +a!DOCTYPE html PUBLICICsendCommand("/else TheApp. || TheApp.pages[]; | |
| 8 | +save',req);!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; | |
| 9 | + optoptopt//alert("onResponse this:<!DO!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; | |
| 10 | + optoptopt//alert("onResponse this:<!DOOCTYPElist){ | |
| 11 | + varempty(); | |
| 12 | + var i, p, a; | |
| 13 | +a = jQuery(a.text(name). | |
| 14 | +a!DOCTYPE html PUBLICICsendCommand("/else TheApp. || TheApp.pages[]; | |
| 15 | +save',req);mand("/json/whoami"opt =cgi.ajaj.options; | |
| 16 | + optoptopt//alert("onResponse this:<!DO!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; | |
| 17 | + optoptopt//alert("onResponse this:<!DOOCTYPElist){ | |
| 18 | + varempty(); | |
| 19 | + var i, p, a; | |
| 20 | +a = jQuery(a.text(name). | |
| 21 | +a!DOCTYPE html PUBLICICsendCommand("/else TheApp. || TheApp.pages[]; | |
| 22 | +save',req); |
| --- a/ajax/wiki-editor.html | |
| +++ b/ajax/wiki-editor.html | |
| @@ -0,0 +1,22 @@ | |
| --- a/ajax/wiki-editor.html | |
| +++ b/ajax/wiki-editor.html | |
| @@ -0,0 +1,22 @@ | |
| 1 | <!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; |
| 2 | optoptopt//alert("onResponse this:<!DO!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; |
| 3 | optoptopt//alert("onResponse this:<!DOOCTYPElist){ |
| 4 | varempty(); |
| 5 | var i, p, a; |
| 6 | a = jQuery(a.text(name). |
| 7 | a!DOCTYPE html PUBLICICsendCommand("/else TheApp. || TheApp.pages[]; |
| 8 | save',req);!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; |
| 9 | optoptopt//alert("onResponse this:<!DO!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; |
| 10 | optoptopt//alert("onResponse this:<!DOOCTYPElist){ |
| 11 | varempty(); |
| 12 | var i, p, a; |
| 13 | a = jQuery(a.text(name). |
| 14 | a!DOCTYPE html PUBLICICsendCommand("/else TheApp. || TheApp.pages[]; |
| 15 | save',req);mand("/json/whoami"opt =cgi.ajaj.options; |
| 16 | optoptopt//alert("onResponse this:<!DO!DOCTYPE html PUBLICsendCommand("/json/whoami"opt =cgi.ajaj.options; |
| 17 | optoptopt//alert("onResponse this:<!DOOCTYPElist){ |
| 18 | varempty(); |
| 19 | var i, p, a; |
| 20 | a = jQuery(a.text(name). |
| 21 | a!DOCTYPE html PUBLICICsendCommand("/else TheApp. || TheApp.pages[]; |
| 22 | save',req); |