svnno****@sourc*****
svnno****@sourc*****
2007年 7月 28日 (土) 18:24:31 JST
Revision: 184 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=184 Author: flyson Date: 2007-07-28 18:24:31 +0900 (Sat, 28 Jul 2007) Log Message: ----------- スキンのパス変換が Gecko1.9 で正しく動いていなかったのを修正 Modified Paths: -------------- trunk/bbs2chreader/chrome/content/bbs2chreader/server/skin.js Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/server/skin.js =================================================================== --- trunk/bbs2chreader/chrome/content/bbs2chreader/server/skin.js 2007-07-28 09:21:49 UTC (rev 183) +++ trunk/bbs2chreader/chrome/content/bbs2chreader/server/skin.js 2007-07-28 09:24:31 UTC (rev 184) @@ -60,9 +60,11 @@ skinFile = installLocation.getItemFile(bbs2chreaderID, "defaults/skin").clone() .QueryInterface(Components.interfaces.nsILocalFile); } - for(let [index, path] in aFilePath.split("/")){ - skinFile.appendRelativePath(path); + + for(let [i, value] in Iterator(aFilePath.split("/"))){ + skinFile.appendRelativePath(value); } + return skinFile; } }