[Sie-announce] SIEコード [2379] .. Listに共通するnumberOfItemsプロパティを整理

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 2月 9日 (水) 20:56:52 JST


Revision: 2379
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2379
Author:   dhrname
Date:     2011-02-09 20:56:52 +0900 (Wed, 09 Feb 2011)

Log Message:
-----------
..Listに共通するnumberOfItemsプロパティを整理

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

Modified: branches/07x/070/org/w3c/dom/svg.js
===================================================================
--- branches/07x/070/org/w3c/dom/svg.js	2011-02-06 14:06:44 UTC (rev 2378)
+++ branches/07x/070/org/w3c/dom/svg.js	2011-02-09 11:56:52 UTC (rev 2379)
@@ -385,11 +385,11 @@
 };
 
 function SVGStringList() {
-  /*readonly unsigned long*/ this.numberOfItems = 0;
   this._list = []; //リストの本体
   return this;
 };
 SVGStringList.prototype = {
+  /*readonly unsigned long*/ numberOfItems : 0,
   /*void*/   clear : function(){
     this._list = [];
     this.numberOfItems = 0;
@@ -463,7 +463,6 @@
 };
 
 function SVGNumberList() {
-  /*readonly unsigned long*/ this.numberOfItems = 0;
   this._list = []; //リストの本体
   return this;
 };
@@ -558,7 +557,6 @@
   return this;
 };
 function SVGLengthList() {
-  /*readonly unsigned long*/ this.numberOfItems = 0;
   this._list = []; //リストの本体
   return this;
 };
@@ -1764,7 +1762,6 @@
 };
 
 function SVGPointList() { 
-  /*readonly unsigned long*/ this.numberOfItems = 0;
   this._list = [];
   return this;
 };
@@ -1953,7 +1950,6 @@
 };
 
 function SVGTransformList() { 
-  /*readonly unsigned long*/ this.numberOfItems = 0;
   this._list = [];
   return this;
 };
@@ -2211,7 +2207,6 @@
   return this;
 };
 function SVGPathSegList() {
-  /*readonly unsigned long*/ this.numberOfItems = 0;
   this._list = []; //リストの本体
   return this;
 };




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