[Sie-announce] SIEコード [1640] setPropertyメソッドを除去

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 2月 5日 (金) 20:57:26 JST


Revision: 1640
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1640
Author:   dhrname
Date:     2010-02-05 20:57:26 +0900 (Fri, 05 Feb 2010)

Log Message:
-----------
setPropertyメソッドを除去

Modified Paths:
--------------
    branches/ufltima/core.js

Modified: branches/ufltima/core.js
===================================================================
--- branches/ufltima/core.js	2010-02-05 11:56:47 UTC (rev 1639)
+++ branches/ufltima/core.js	2010-02-05 11:57:26 UTC (rev 1640)
@@ -646,17 +646,6 @@
   }
 };
 
-Element.prototype.setProperty = function(attr,value) {
-  try{
-  attr = attr.replace(/(fill|stroke)-/, "$1");
-    if (this.paint.defaults[attr] !== void 0) {
-      this.paint[attr] = value;
-      this.paint.set(this.w, this.h, this.transformable);
-    }
-  } catch(e){}
-  attr = value = null;
-}
-
 /*Text
  *テキストノード。削除不可。
  */




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