mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 07:32:59 +00:00 
			
		
		
		
	Clearer logging preparatory to implementing file synchronisation
This commit is contained in:
		| @@ -124,9 +124,7 @@ var Command = function(params,commander,callback) { | ||||
| 			if(fields["revision"]) { | ||||
| 				delete fields["revision"]; | ||||
| 			} | ||||
| var fileInfo = $tw.boot.files[title], | ||||
| 	filepath = fileInfo ? fileInfo.filepath : null; | ||||
| console.log("PUT tiddler",title,filepath,fields) | ||||
| console.log("PUT tiddler",title) | ||||
| 			state.wiki.addTiddler(new $tw.Tiddler(fields,{title: title})); | ||||
| 			var changeCount = state.wiki.getChangeCount(title).toString(); | ||||
| 			response.writeHead(204, "OK",{ | ||||
| @@ -140,9 +138,7 @@ console.log("PUT tiddler",title,filepath,fields) | ||||
| 		path: /^\/bags\/default\/tiddlers\/(.+)$/, | ||||
| 		handler: function(request,response,state) { | ||||
| 			var title = decodeURIComponent(state.params[0]); | ||||
| var fileInfo = $tw.boot.files[title], | ||||
| 	filepath = fileInfo ? fileInfo.filepath : null; | ||||
| console.log("DELETE tiddler",title,filepath) | ||||
| console.log("DELETE tiddler",title) | ||||
| 			state.wiki.deleteTiddler(title); | ||||
| 			response.writeHead(204, "OK"); | ||||
| 			response.end(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston