From: dhrname Date: Sun, 9 Nov 2014 14:12:24 +0000 (+0900) Subject: line要素のインターフェースをbase関数で表現 X-Git-Tag: version22~396^2~10 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b6b4bfba34aa87a4205cd25695986c06cb286702;p=sie%2Fsie.git line要素のインターフェースをbase関数で表現 --- diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index ef77af4..860b4ec 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -3563,7 +3563,8 @@ base.$1.up("http://www.w3.org/2000/svgellipse") }, false); } ); -function SVGLineElement(_doc) { +base.$1.up("http://www.w3.org/2000/svgline") + .on("initialize", function (_doc) { this._tar = _doc.createElement("v:shape"); var sl = SVGAnimatedLength; /*readonly SVGAnimatedLength*/ this.x1 = new sl(); @@ -3631,7 +3632,7 @@ function SVGLineElement(_doc) { }, false); evt = tar = void 0; }, false); -}; +} ); /*_GenericSVGPolyElementメソッド * このメソッドはpolygonとpolyline要素共通のインターフェースとして使用。 @@ -6264,7 +6265,6 @@ function SVGForeignObjectElement(_doc) /*: //#endif _SVG_IDL_ base("DOMImplementation")["http://www.w3.org/2000/svg"] = { - line: SVGLineElement, a: SVGAElement, animateColor: SVGAnimateColorElement, animate: SVGAnimateElement,