Fossil SCM

added diff demo to ajax page.

stephan 2011-10-08 05:57 json-multitag-test
Commit 42f569238e53dd2a7fc2303e7ef9e7a0d0119c1b
1 file changed +5
--- ajax/index.html
+++ ajax/index.html
@@ -242,10 +242,15 @@
242242
onclick='TheApp.cgi.sendCommand("/json/tag/add",{name:"json-add-tag-test",checkin:"json",value:"tag test",propagate:false,raw:false})' />
243243
<input type='button' value='tag/cancel'
244244
onclick='TheApp.cgi.sendCommand("/json/tag/cancel",{name:"json-add-tag-test",checkin:"json",raw:false})' />
245245
<input type='button' value='tag/find'
246246
onclick='TheApp.cgi.sendCommand("/json/tag/find",{name:"json",type:"*",raw:false,limit:5})' />
247
+<input type='button' value='diff'
248
+onclick='TheApp.cgi.sendCommand("/json/diff",{v1:"b0e9b45baed6f885",v2:"5f225e261d836287",context:2})' />
249
+<input type='button' value='diff/A/B'
250
+onclick='TheApp.cgi.sendCommand("/json/diff/b0e9b45baed6f885/5f225e261d836287?context=2")' />
251
+
247252
<!-- not yet ready...
248253
<input type='button' value='artifact/XYZ' onclick='TheApp.cgi.sendCommand("/json/artifact?uuid=json")' />
249254
-->
250255
251256
<!--
252257
--- ajax/index.html
+++ ajax/index.html
@@ -242,10 +242,15 @@
242 onclick='TheApp.cgi.sendCommand("/json/tag/add",{name:"json-add-tag-test",checkin:"json",value:"tag test",propagate:false,raw:false})' />
243 <input type='button' value='tag/cancel'
244 onclick='TheApp.cgi.sendCommand("/json/tag/cancel",{name:"json-add-tag-test",checkin:"json",raw:false})' />
245 <input type='button' value='tag/find'
246 onclick='TheApp.cgi.sendCommand("/json/tag/find",{name:"json",type:"*",raw:false,limit:5})' />
 
 
 
 
 
247 <!-- not yet ready...
248 <input type='button' value='artifact/XYZ' onclick='TheApp.cgi.sendCommand("/json/artifact?uuid=json")' />
249 -->
250
251 <!--
252
--- ajax/index.html
+++ ajax/index.html
@@ -242,10 +242,15 @@
242 onclick='TheApp.cgi.sendCommand("/json/tag/add",{name:"json-add-tag-test",checkin:"json",value:"tag test",propagate:false,raw:false})' />
243 <input type='button' value='tag/cancel'
244 onclick='TheApp.cgi.sendCommand("/json/tag/cancel",{name:"json-add-tag-test",checkin:"json",raw:false})' />
245 <input type='button' value='tag/find'
246 onclick='TheApp.cgi.sendCommand("/json/tag/find",{name:"json",type:"*",raw:false,limit:5})' />
247 <input type='button' value='diff'
248 onclick='TheApp.cgi.sendCommand("/json/diff",{v1:"b0e9b45baed6f885",v2:"5f225e261d836287",context:2})' />
249 <input type='button' value='diff/A/B'
250 onclick='TheApp.cgi.sendCommand("/json/diff/b0e9b45baed6f885/5f225e261d836287?context=2")' />
251
252 <!-- not yet ready...
253 <input type='button' value='artifact/XYZ' onclick='TheApp.cgi.sendCommand("/json/artifact?uuid=json")' />
254 -->
255
256 <!--
257

Keyboard Shortcuts

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