Fixes to ensure revision field is always a string

TiddlyWeb returns it as a number, which seems like it might be an
accident.
This commit is contained in:
Jeremy Ruston
2013-03-18 10:13:36 +00:00
parent d14c61ef45
commit 5e12868e76
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -294,7 +294,7 @@ Syncer.prototype.enqueueSyncTask = function(task) {
// Fill in some tiddlerInfo if the tiddler is one we haven't seen before
if(!$tw.utils.hop(this.tiddlerInfo,task.title)) {
this.tiddlerInfo[task.title] = {
revision: "0",
revision: null,
adaptorInfo: {},
changeCount: -1
}