[Sie-announce] SIEコード [1150] 関数caの整理

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 5月 9日 (土) 23:19:22 JST


Revision: 1150
          http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1150
Author:   dhrname
Date:     2009-05-09 23:19:22 +0900 (Sat, 09 May 2009)

Log Message:
-----------
関数caの整理

Modified Paths:
--------------
    branches/04x/047/sie.js

Modified: branches/04x/047/sie.js
===================================================================
--- branches/04x/047/sie.js	2009-05-09 14:11:55 UTC (rev 1149)
+++ branches/04x/047/sie.js	2009-05-09 14:19:22 UTC (rev 1150)
@@ -1919,8 +1919,8 @@
   var obc = ob.getElementsByTagName("group").item(0);  //obcはSVGのルート要素
   var regaw = obc.getAttribute("svgwidth") || obwidth;
   var regah = obc.getAttribute("svgheight") || obheight;
-  regw = new STLength(regaw,obwidth);
-  regh = new STLength(regah,obheight);
+  var regw = new STLength(regaw,obwidth);
+  var regh = new STLength(regah,obheight);
   var regwv = regw.value,  reghv = regh.value;
   obst.width = regwv+ "px";
   obst.height = reghv+ "px";
@@ -1930,7 +1930,7 @@
   obj.parentNode.insertBefore(ob,obj);
   STdocument.read(ob);
   STdocument.set(ob);
-  STdocument = regw = regh = null;
+  STdocument = obw = obh = regw = regh = null;
   NAIBU.PaintColor.prototype.cache = {}; //キャッシュの初期化
   alert((new Date()).getTime() - dnd.getTime());
 }




Sie-announce メーリングリストの案内
Back to archive index