[Bbs2ch-cvs 11] CVS update: bbs2chreader/content/bbs2chreader

Back to archive index

flyson flyso****@users*****
2005年 9月 17日 (土) 04:27:14 JST


Index: bbs2chreader/content/bbs2chreader/bbsmenu-update.xul
diff -u bbs2chreader/content/bbs2chreader/bbsmenu-update.xul:1.2 bbs2chreader/content/bbs2chreader/bbsmenu-update.xul:1.3
--- bbs2chreader/content/bbs2chreader/bbsmenu-update.xul:1.2	Sat Apr  9 03:36:08 2005
+++ bbs2chreader/content/bbs2chreader/bbsmenu-update.xul	Sat Sep 17 04:27:14 2005
@@ -7,8 +7,7 @@
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 <script type="application/x-javascript" src="chrome://bbs2chreader/content/global.js"/>
-<script type="application/x-javascript" src="chrome://bbs2chreader/content/httprequest.js"/>
-<script type="application/x-javascript" src="chrome://bbs2chreader/content/downloader.js"/>
+<script type="application/x-javascript" src="chrome://bbs2chreader/content/lib/downloader.js"/>
 <script type="application/x-javascript" src="chrome://bbs2chreader/content/bbsmenu-update.js"/>
 
 
Index: bbs2chreader/content/bbs2chreader/bbsmenu-update.js
diff -u bbs2chreader/content/bbs2chreader/bbsmenu-update.js:1.4 bbs2chreader/content/bbs2chreader/bbsmenu-update.js:1.5
--- bbs2chreader/content/bbs2chreader/bbsmenu-update.js:1.4	Fri Apr 22 22:38:18 2005
+++ bbs2chreader/content/bbs2chreader/bbsmenu-update.js	Sat Sep 17 04:27:14 2005
@@ -43,20 +43,20 @@
 	var bbsmenuFilePath = bbsMenuFile.path;	
 	bbsMenuDownloader = new Bbs2chDownloader(bbsmenuURL, bbsmenuFilePath);
 
-	bbsMenuDownloader.onDownloaderStart = function(){
+	bbsMenuDownloader.onStart = function(aDownloader){
 		document.getElementById("dckTop").selectedIndex = 1;		
-		output("start: " + this.urlSpec);
+		output("start: " + aDownloader.urlSpec);
 	};
-	bbsMenuDownloader.onDownloaderStop = function(aStatus){
+	bbsMenuDownloader.onStop = function(aDownloader, aStatus){
 		document.getElementById("dckTop").selectedIndex = 0;
 		output("Update Succeed.");
 		window.setTimeout("serverMovedCheck()", 0);
 	};
-	bbsMenuDownloader.onDownloaderProgressChange = function(aPercentage){
+	bbsMenuDownloader.onProgressChange = function(aDownloader, aPercentage){
 		document.getElementById("prgrsMeter").value = aPercentage;
 	};
-	bbsMenuDownloader.onDownloaderError = function(aErrorCode){
-		alert("Download Error: " + aErrorCode + "\n" + this.urlSpec);
+	bbsMenuDownloader.onError = function(aDownloader, aErrorCode){
+		alert("Download Error: " + aErrorCode + "\n" + aDownloader.urlSpec);
 	};
 
 	bbsMenuDownloader.download();


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