[Bbs2ch-cvs 61] CVS update: bbs2chreader/content/bbs2chreader/test

Back to archive index

flyson flyso****@users*****
2005年 11月 30日 (水) 01:06:44 JST


Index: bbs2chreader/content/bbs2chreader/test/thread-test.js
diff -u bbs2chreader/content/bbs2chreader/test/thread-test.js:1.7 bbs2chreader/content/bbs2chreader/test/thread-test.js:1.8
--- bbs2chreader/content/bbs2chreader/test/thread-test.js:1.7	Fri Nov 25 00:01:47 2005
+++ bbs2chreader/content/bbs2chreader/test/thread-test.js	Wed Nov 30 01:06:44 2005
@@ -162,6 +162,10 @@
 			var datLines = this._bbs2chService.readFileLine(this.dat.datFile.path, {});
 
 			if(this.optionsEnd){ // LOG PICKUP MODE
+				this._headerResponded = true;
+				var header = this.converter.getHeader(this.dat.title);
+				this.requestRespond(header);
+
 				var start = this.optionsStart ? this.optionsStart : 1;
 				if(start < 1) start = 1;
 				var end = this.optionsEnd;
@@ -170,7 +174,7 @@
 
 				var content = new Array();
 				for(var i=start-1; i<end; i++){
-					content.push((i+1) +"\t: "+ datLines[i]);
+					content.push(this.datLineParse(datLines[i], i+1, false));
 				}
 				this.requestRespond(content.join("\n"));
 
@@ -198,7 +202,6 @@
 				var content = new Array();
 				for(var i=start; i<end; i++){
 					content.push(this.datLineParse(datLines[i], i+1, false));
-
 				}
 				
 				this.requestRespond(content.join("\n"));


bbs2ch-cvs メーリングリストの案内
Back to archive index