[Sie-announce] SIEコード [2458] _ca関数の整理

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 3月 2日 (水) 23:06:09 JST


Revision: 2458
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2458
Author:   dhrname
Date:     2011-03-02 23:06:09 +0900 (Wed, 02 Mar 2011)

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

Modified Paths:
--------------
    branches/07x/072/org/w3c/dom/svg.js

Modified: branches/07x/072/org/w3c/dom/svg.js
===================================================================
--- branches/07x/072/org/w3c/dom/svg.js	2011-03-02 13:58:14 UTC (rev 2457)
+++ branches/07x/072/org/w3c/dom/svg.js	2011-03-02 14:06:09 UTC (rev 2458)
@@ -1678,19 +1678,20 @@
         }
       }
       //以下、テキストの位置を修正
-      var text = s.documentElement._tar.getElementsByTagName("div");
+      var text = s.documentElement._tar.getElementsByTagName("div"), _parseFloat = parseFloat;
       for (var i=0,textli=text.length;i<textli;++i) {
         var texti = text[i];
         if (texti.firstChild.nodeName !== "shape") { //radialGradient用のdiv要素でないならば
           var tis = texti.style;
-          tis.left = parseFloat(tis.left) + bl + "px";
-          tis.top = parseFloat(tis.top) + bt + "px";
+          tis.left = _parseFloat(tis.left) + bl + "px";
+          tis.top = _parseFloat(tis.top) + bt + "px";
           tis = null;
         }
       }
       s.defaultView._cache = s.defaultView._cache_ele = null;
       evt = objei = tar = tview = objw = objh = n = att = sdt = sp = dcp = backr = w = h = sw = sh = null;
       trstyle = tpstyle = backrs = viewWidth = viewHeight = text = bfl = bft = bl = bt = backdown = backright = null;
+      text = _parseFloat = null;
       /*IEのメモリリーク対策として、空関数を入力*/
       this.xmlhttp.onreadystatechange = NAIBU.emptyFunction;
       alert(+(new Date()) - dsd.getTime())




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