Fossil SCM

Added initial prototype of JSON wiki editor (cannot save yet). Minor cleanup in ajax/index.html.

stephan 2011-09-22 17:02 json
Commit 475c61fd5929cf1b43ed716512f612d27093bb79
+1 -3
--- ajax/index.html
+++ ajax/index.html
@@ -32,11 +32,11 @@
3232
var TheApp = {
3333
response:null,
3434
sessionID:null,
3535
jqe:{}/*jqe==jQuery Elements*/,
3636
ajaxCount:0,
37
- cgi: new WhAjaj.Connector()
37
+ cgi: new FossilAjaj()
3838
};
3939
4040
4141
TheApp.startAjaxNotif = function()
4242
{
@@ -123,12 +123,10 @@
123123
keyup(function(event){
124124
if(event.keyCode == 13){
125125
TheApp.sendRequest();
126126
}
127127
});
128
-
129
- TheApp.cgi = new FossilAjaj();
130128
TheApp.timer = {
131129
_tstart:0,_tend:0,duration:0,
132130
start:function(){
133131
this._tstart = (new Date()).getTime();
134132
},
135133
136134
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
--- 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);

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button