OSDN Git Service

line要素のインターフェースをbase関数で表現
authordhrname <sie-developers@lists.sourceforge.jp>
Sun, 9 Nov 2014 14:12:24 +0000 (23:12 +0900)
committerdhrname <sie-developers@lists.sourceforge.jp>
Sun, 9 Nov 2014 14:12:24 +0000 (23:12 +0900)
org/w3c/dom/svg.js

index ef77af4..860b4ec 100644 (file)
@@ -3563,7 +3563,8 @@ base.$1.up("http://www.w3.org/2000/svgellipse")
   }, false);\r
 } );\r
 \r
-function SVGLineElement(_doc) {\r
+base.$1.up("http://www.w3.org/2000/svgline")\r
+ .on("initialize", function (_doc) {\r
   this._tar = _doc.createElement("v:shape");\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.x1 = new sl();\r
@@ -3631,7 +3632,7 @@ function SVGLineElement(_doc) {
     }, false);\r
     evt = tar = void 0;\r
   }, false);\r
-};\r
+} );\r
 \r
 /*_GenericSVGPolyElementメソッド\r
  * このメソッドはpolygonとpolyline要素共通のインターフェースとして使用。\r
@@ -6264,7 +6265,6 @@ function SVGForeignObjectElement(_doc) /*:
 \r
 //#endif  _SVG_IDL_\r
 base("DOMImplementation")["http://www.w3.org/2000/svg"] = {\r
-  line:            SVGLineElement,\r
   a:               SVGAElement,\r
   animateColor:    SVGAnimateColorElement,\r
   animate:         SVGAnimateElement,\r