svnno****@sourc*****
svnno****@sourc*****
2010年 2月 16日 (火) 20:18:24 JST
Revision: 1663
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1663
Author: dhrname
Date: 2010-02-16 20:18:24 +0900 (Tue, 16 Feb 2010)
Log Message:
-----------
tarプロパティの名前を_tarプロパティに変更
Modified Paths:
--------------
branches/ufltima/dom/svg.js
Modified: branches/ufltima/dom/svg.js
===================================================================
--- branches/ufltima/dom/svg.js 2010-02-16 11:06:19 UTC (rev 1662)
+++ branches/ufltima/dom/svg.js 2010-02-16 11:18:24 UTC (rev 1663)
@@ -172,10 +172,10 @@
/*interface SVGLocatable*/
/*SVGRect*/ SVGElement.prototype.getBBox = function(){
var s = new SVGRect();
- s.x = this.tar.clientLeft;
- s.y = this.tar.clientTop;
- s.width = this.tar.clientWidth;
- s.height = this.tar.clientHeight;
+ s.x = this._tar.clientLeft;
+ s.y = this._tar.clientTop;
+ s.width = this._tar.clientWidth;
+ s.height = this._tar.clientHeight;
return s;
};
@@ -547,7 +547,7 @@
*SIEでは、もっぱらXLink言語の処理を行う
*/
function SVGURIReference( /*element*/ ele) {
- this.tar = ele;
+ this._tar = ele;
/*readonly SVGAnimatedString*/ this.href = new SVGAnimatedString();
return this;
};
@@ -682,7 +682,7 @@
/*readonly DOMString*/ this.preserveAspectRatioString = "";
/*readonly DOMString*/ this.transformString = "";
/*readonly DOMString*/ this.viewTargetString = "";
- this.tar = ele;
+ this._tar = ele;
return this;
};
SVGViewSpec.constructor = SVGFitToViewBox;
@@ -690,7 +690,7 @@
function SVGGElement() {
SVGElement.apply(this, arguments);
- this.tar = document.createElement("v:group");
+ this._tar = document.createElement("v:group");
return this;
};
SVGGElement.constructor = SVGElement;
@@ -1275,7 +1275,7 @@
function SVGPathElement() {
SVGElement.apply(this, arguments);
- this.tar = document.createElement("v:shape");
+ this._tar = document.createElement("v:shape");
//interface SVGAnimatedPathData
/*readonly SVGPathSegList*/ this.animatedPathSegList = this.pathSegList = new SVGPathSegList();
/*readonly SVGPathSegList*/ this.animatedNormalizedPathSegList = this.normalizedPathSegList = new SVGPathSegList();
@@ -1503,7 +1503,7 @@
/*unsigned short*/ SVGTextContentElement.LENGTHADJUST_SPACING = 1;
/*unsigned short*/ SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS = 2;
/*long*/ SVGTextContentElement.prototype.getNumberOfChars = function() {
- return (this.tar.innerText.length);
+ return (this._tar.innerText.length);
};
/*float*/ SVGTextContentElement.prototype.getComputedTextLength = function() {