From b15b96c993edc9d7337f797bf146d452204af13d Mon Sep 17 00:00:00 2001 From: dhrname Date: Fri, 26 Jul 2013 23:37:36 +0900 Subject: [PATCH] =?utf8?q?SVGPaint=E3=81=AE=E8=BB=BD=E9=87=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- org/w3c/dom/svg.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index 3c6c813..ab731ac 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -4133,6 +4133,7 @@ function SVGTextContentElement(_doc) { /*void*/ tproto.selectSubString = function(/*unsigned long*/ charnum,/*unsigned long*/ nchars ) { }; + t = tproto = void 0; })(SVGTextContentElement); function SVGTextPositioningElement(_doc) { @@ -4493,7 +4494,8 @@ function SVGPaint() { }; (function(t){ -t.prototype = Object._create(SVGColor); + var tproto; + tproto = t.prototype = Object._create(SVGColor); // Paint Types /*unsigned short t.SVG_PAINTTYPE_UNKNOWN = 0; /*unsigned short t.SVG_PAINTTYPE_RGBCOLOR = 1; @@ -4505,12 +4507,12 @@ t.prototype = Object._create(SVGColor); /*unsigned short t.SVG_PAINTTYPE_URI_RGBCOLOR = 105; /*unsigned short t.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; /*unsigned short t.SVG_PAINTTYPE_URI = 107;*/ - /*readonly unsigned short*/ t.prototype.paintType = /*t.SVG_PAINTTYPE_UNKNOWN*/ 0; - /*readonly DOMString*/ t.prototype.uri = null; -/*void*/ t.prototype.setUri = function(/*DOMString*/ uri ) { + /*readonly unsigned short*/ tproto.paintType = /*t.SVG_PAINTTYPE_UNKNOWN*/ 0; + /*readonly DOMString*/ tproto.uri = null; +/*void*/ tproto.setUri = function(/*DOMString*/ uri ) { this.setPaint(/*SVGPaint.SVG_PAINTTYPE_URI_NONE*/ 103, uri, null, null); }; -/*void*/ t.prototype.setPaint = function(/*unsigned short*/ paintType, /*DOMString*/ uri, /*DOMString*/ rgbColor, /*DOMString*/ iccColor ) { +/*void*/ tproto.setPaint = function(/*unsigned short*/ paintType, /*DOMString*/ uri, /*DOMString*/ rgbColor, /*DOMString*/ iccColor ) { if ((paintType < 101 && uri) || (paintType > 102 && !uri)) { throw new SVGException(/*SVGException.SVG_INVALID_VALUE_ERR*/ 1); } @@ -4522,7 +4524,7 @@ t.prototype = Object._create(SVGColor); this.setColor(paintType, rgbColor, iccColor); //SVGColorのsetColorメソッドを用いる }; // raises( SVGException ); -t = void 0; +t = tproto = void 0; })(SVGPaint); function SVGMarkerElement(_doc) { -- 2.11.0