[Sie-announce] SIEコード [1572] 変数の解放に関する整理

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 1月 13日 (水) 22:16:24 JST


Revision: 1572
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1572
Author:   dhrname
Date:     2010-01-13 22:16:24 +0900 (Wed, 13 Jan 2010)

Log Message:
-----------
変数の解放に関する整理

Modified Paths:
--------------
    branches/05x/058/sie.js

Modified: branches/05x/058/sie.js
===================================================================
--- branches/05x/058/sie.js	2010-01-12 14:46:10 UTC (rev 1571)
+++ branches/05x/058/sie.js	2010-01-13 13:16:24 UTC (rev 1572)
@@ -440,6 +440,7 @@
     txts.left = "0px";
     txts.top = "0px";
     txts.textDecoration = "none";
+    this.transformable = null;
   }  catch(e) {stlog.add(e,204);}
 };
 
@@ -756,7 +757,7 @@
     ele.path = dat + " e";
     ele.coordsize = w + " " + h;
     this.paint.set(w, h, ttm);
-    ele = dat = this.paint = ttm = this.transformable = this.d = preCom = x = y = x0 = y0 = dx = dy = tma = tmb = tmc = tmd = tme = tmf = w = h = null; //解放
+    ele = dat = this.paint = ttm = this.transformable = preCom = x = y = x0 = y0 = dx = dy = tma = tmb = tmc = tmd = tme = tmf = w = h = null; //解放
   } catch(e) {stlog.add(e,372);}
 };
 })();
@@ -1033,7 +1034,7 @@
       ttfia.Opacity = parseFloat(this.paint.fillopacity)*100;
     }
     this.xlink.set();
-    dat = pt = this.xlink = this.paint = ttm = this.transformable = w = h = null; //解放
+    dat = pt = this.paint = ttm = this.transformable = w = h = null; //解放
   } catch(e) {stlog.set(e,21896);}
 };
 
@@ -1060,7 +1061,7 @@
 STUseElement.prototype.set = function(){
   try {
     this.paint.setStyle();
-    this.paint = this.xlink = null;
+    this.paint = null;
   } catch(e) {stlog.add(e,85436);}
 };
 




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