[Sie-announce] SIEコード [1287] callメソッドをapplyメソッドに

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 9月 26日 (土) 19:15:37 JST


Revision: 1287
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1287
Author:   dhrname
Date:     2009-09-26 19:15:37 +0900 (Sat, 26 Sep 2009)

Log Message:
-----------
callメソッドをapplyメソッドに

Modified Paths:
--------------
    branches/DOM/org/w3c/core.js

Modified: branches/DOM/org/w3c/core.js
===================================================================
--- branches/DOM/org/w3c/core.js	2009-09-25 14:48:07 UTC (rev 1286)
+++ branches/DOM/org/w3c/core.js	2009-09-26 10:15:37 UTC (rev 1287)
@@ -103,7 +103,7 @@
   const unsigned short      INVALID_ACCESS_ERR             = 15;
 */
 function DOMException(n){
- Error.call(this, arguments);
+ Error.apply(this, arguments);
  this.code = n;
  return this;
 /*DOMSTRING_SIZE_ERR
@@ -491,7 +491,7 @@
  *文字データ。Textノードなどの元となる。削除不可。
  */
 function CharacterData(){
- Node.call(this, arguments);
+ Node.apply(this, arguments);
  this.length = 0;
 };
 CharacterData.prototype = new Node();                    //ノードのプロトタイプチェーンを作って、継承
@@ -541,7 +541,7 @@
  *属性ノード。削除不可。
  */
 function Attr() {
-  Node.call(this, arguments);
+  Node.apply(this, arguments);
   this.nodeType = 2;
   return this;
 };
@@ -552,7 +552,7 @@
  *要素ノード。削除不可。
  */
 function Element() {
-  Node.call(this, arguments);
+  Node.apply(this, arguments);
   this.nodeType = 1;
   this.nodeValue = null;
   this.attributes = new NamedNodeMap();          //属性を収納
@@ -709,7 +709,7 @@
  *テキストノード。削除不可。
  */
 function Text() {
-  CharacterData.call(this, arguments);
+  CharacterData.apply(this, arguments);
   this.nodeType = 3;
   this.nodeName = "#text";
   return this;




Sie-announce メーリングリストの案内
アーカイブの一覧に戻る