From 4c9a3777a46d1033894dbff8b2f2aa938d8c4f41 Mon Sep 17 00:00:00 2001 From: dhrname Date: Sat, 8 Nov 2014 22:46:13 +0900 Subject: [PATCH] =?utf8?q?shape=E9=96=A2=E9=80=A3=E3=81=AE=E3=82=A4?= =?utf8?q?=E3=83=B3=E3=82=BF=E3=83=BC=E3=83=95=E3=82=A7=E3=83=BC=E3=82=B9?= =?utf8?q?=E3=82=92base=E9=96=A2=E6=95=B0=E3=81=A7=E8=A1=A8=E7=8F=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- org/w3c/dom/svg.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index 3d2b614..dc18da4 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -3274,7 +3274,8 @@ _com: { } ); })(document, Math); -function SVGRectElement(_doc) { +base.$1.up("http://www.w3.org/2000/svgrect") + .on("initialize", function (_doc) { this._tar = _doc.createElement("v:shape"); var slen = SVGAnimatedLength; /*readonly SVGAnimatedLength*/ this.x = new slen(); @@ -3386,9 +3387,10 @@ function SVGRectElement(_doc) { }, false); evt = tar = void 0; }, false); -}; +} ); -function SVGCircleElement(_doc) { +base.$1.up("http://www.w3.org/2000/svgcircle") + .on("initialize", function (_doc) { this._tar = _doc.createElement("v:shape"); var sl = SVGAnimatedLength; /*readonly SVGAnimatedLength*/ this.cx = new sl(); @@ -3470,9 +3472,10 @@ function SVGCircleElement(_doc) { }, false); evt = tar = void 0; }, false); -}; +} ); -function SVGEllipseElement(_doc) { +base.$1.up("http://www.w3.org/2000/svgellipse") + .on("initialize", function (_doc) { this._tar = _doc.createElement("v:shape"); var sl = SVGAnimatedLength; /*readonly SVGAnimatedLength*/ this.cx = new sl(); @@ -3557,7 +3560,7 @@ function SVGEllipseElement(_doc) { }, false); evt = tar = void 0; }, false); -}; +} ); function SVGLineElement(_doc) { this._tar = _doc.createElement("v:shape"); @@ -3633,7 +3636,7 @@ function SVGLineElement(_doc) { * このインターフェースはpolygonとpolyline要素共通のインターフェースとして使用。 * ファイルサイズを軽量にすることができる */ -NAIBU._GenericSVGPolyElement = function (_doc, xclose) { +base.$1._GenericSVGPolyElement = function (_doc, xclose) { this._tar = _doc.createElement("v:shape"); _doc = void 0; //interface SVGAnimatedPoints @@ -3693,15 +3696,17 @@ NAIBU._GenericSVGPolyElement = function (_doc, xclose) { evt = tar = void 0; }, false); }; -function SVGPolylineElement(_doc) { +base.$1.up("http://www.w3.org/2000/svgpolyline") + .on("initialize", function (_doc) { NAIBU._GenericSVGPolyElement.call(this, _doc, "e"); _doc = void 0; -}; +} ); -function SVGPolygonElement(_doc) { +base.$1.up("http://www.w3.org/2000/svgpolygon") + .on("initialize", function (_doc) { NAIBU._GenericSVGPolyElement.call(this, _doc, "x e"); _doc = void 0; -}; +} ); function SVGTextContentElement(_doc) { /*readonly SVGAnimatedLength*/ this.textLength = new SVGAnimatedLength(); @@ -6262,11 +6267,6 @@ function SVGForeignObjectElement(_doc) /*: //#endif _SVG_IDL_ base("DOMImplementation")["http://www.w3.org/2000/svg"] = { - rect: SVGRectElement, - circle: SVGCircleElement, - ellipse: SVGEllipseElement, - polyline: SVGPolylineElement, - polygon: SVGPolygonElement, text: SVGTextElement, tspan: SVGTSpanElement, image: SVGImageElement, -- 2.11.0