[Bbs2ch-cvs 25] CVS update: bbs2chreader/components

アーカイブの一覧に戻る

flyson flyso****@users*****
2005年 10月 16日 (日) 11:05:25 JST


Index: bbs2chreader/components/nsBbs2chProtocolHandler.js
diff -u bbs2chreader/components/nsBbs2chProtocolHandler.js:1.4 bbs2chreader/components/nsBbs2chProtocolHandler.js:1.5
--- bbs2chreader/components/nsBbs2chProtocolHandler.js:1.4	Sat Sep 17 04:36:51 2005
+++ bbs2chreader/components/nsBbs2chProtocolHandler.js	Sun Oct 16 11:05:25 2005
@@ -95,6 +95,13 @@
 									.createInstance(Components.interfaces.nsIBbs2chChannel);
 				tmpChannel.init(aURI, "text/html", "Shift_JIS", new Bbs2chThread());
 				break;
+			case "thread-test:" :
+				this._subScrLoader.loadSubScript("chrome://bbs2chreader/content/test/thread-test.js");
+				var threadFactory = new b2rThreadFactory();
+				tmpChannel = Components.classes["@mozilla.org/bbs2ch-channel;1"]
+									.createInstance(Components.interfaces.nsIBbs2chChannel);
+				tmpChannel.init(aURI, "text/plain", "Shift_JIS", threadFactory.create(aURI));
+				break;
 			case "board-rss:" :
 				tmpChannel = Components.classes["@mozilla.org/bbs2ch-channel;1"]
 									.createInstance(Components.interfaces.nsIBbs2chChannel);


bbs2ch-cvs メーリングリストの案内
アーカイブの一覧に戻る