[Sie-announce] SIEコード [2872] getAttributeメソッドにミスがあったので修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 8月 16日 (火) 22:20:42 JST


Revision: 2872
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2872
Author:   dhrname
Date:     2011-08-16 22:20:42 +0900 (Tue, 16 Aug 2011)

Log Message:
-----------
getAttributeメソッドにミスがあったので修正

Modified Paths:
--------------
    branches/08x/083/org/w3c/core.js

Modified: branches/08x/083/org/w3c/core.js
===================================================================
--- branches/08x/083/org/w3c/core.js	2011-08-16 10:20:55 UTC (rev 2871)
+++ branches/08x/083/org/w3c/core.js	2011-08-16 13:20:42 UTC (rev 2872)
@@ -550,7 +550,7 @@
  *(getAttributeとsetAttributeは普及しているので機能させる
  */
 /*string*/ Element.prototype.getAttribute = function( /*string*/ name) {
-  return (this.getAttributeNS("http://www.w3.org/2000/svg", name));
+  return (this.getAttributeNS(null, name));
 };
 /*void*/ Element.prototype.setAttribute = function( /*string*/ name, /*string*/ value) {
   this.setAttributeNS(null, name, value);




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