}
return this;
};
-SVGException.prototype = new Error();
+SVGException.prototype = Object._create(Error);
// SVGExceptionCode
/*const unsigned short SVGException.SVG_WRONG_TYPE_ERR = 0;
/*const unsigned short SVGException.SVG_INVALID_VALUE_ERR = 1;
}, false);
return this;
};
-SVGElement.prototype = new Element();
+SVGElement.prototype = Object._create(Element);
(function(){
/*以下の正規表現は属性のパーサの際に用いる*/
function SVGStringList() {
return this;
};
-SVGStringList.prototype = new Array();
+SVGStringList.prototype = Object._create(Array);
(function(){
/*readonly unsigned long*/ this.numberOfItems = 0;
/*void*/ this.clear = function(){
/*unsigned short SVGColor.SVG_COLORTYPE_RGBCOLOR = 1;
/*unsigned short SVGColor.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
/*unsigned short SVGColor.SVG_COLORTYPE_CURRENTCOLOR = 3;*/
-SVGColor.prototype = new CSSValue(); //ノードのプロトタイプチェーンを作って、継承
+SVGColor.prototype = Object._create(CSSValue); //ノードのプロトタイプチェーンを作って、継承
(function(){
/*readonly unsigned short*/ this.colorType = /*SVGColor.SVG_COLORTYPE_UNKNOWN*/ 0;
/*const unsigned short*/ this.COLOR_PROFILE_RULE = 7;
return this;
};
-SVGCSSRule.prototype = new CSSRule(); //ノードのプロトタイプチェーンを作って、継承
+SVGCSSRule.prototype = Object._create(CSSRule); //ノードのプロトタイプチェーンを作って、継承
/*SVGDocument
*SVGの文書オブジェクト
/*readonly SVGSVGElement*/ this.rootElement;
return this;
};
-SVGDocument.prototype = new Document(); //ノードのプロトタイプチェーンを作って、継承
+SVGDocument.prototype = Object._create(Document); //ノードのプロトタイプチェーンを作って、継承
/*軽量化のために、頻繁に使われる処理をSVGDocumentの独自メソッドとしてまとめておく*/
SVGDocument.prototype._domnodeEvent = function() {
}, false);
return this;
};
-SVGSVGElement.prototype = new SVGElement();
+SVGSVGElement.prototype = Object._create(SVGElement);
/*void*/ SVGSVGElement.prototype.forceRedraw = function() {
};
/*float*/ SVGSVGElement.prototype.getCurrentTime = function(){
/*readonly DOMString*/ this.viewBoxString = this.preserveAspectRatioString = this.transformString = this.viewTargetString = "";
return this;
};
-SVGViewSpec.prototype = new SVGFitToViewBox();
+SVGViewSpec.prototype = Object._create(SVGFitToViewBox);
function SVGGElement(_doc) {
SVGElement.apply(this);
}, false);
return this;
};
-SVGGElement.prototype = new SVGElement();
+SVGGElement.prototype = Object._create(SVGElement);
function SVGDefsElement() {
SVGElement.apply(this, arguments);
this.style.setProperty("display", "none");
return this;
};
-SVGDefsElement.prototype = new SVGElement();
+SVGDefsElement.prototype = Object._create(SVGElement);
function SVGDescElement() {
SVGElement.apply(this, arguments);
return this;
}
-SVGDescElement.prototype = new SVGElement();
+SVGDescElement.prototype = Object._create(SVGElement);
function SVGTitleElement() {
SVGElement.apply(this, arguments);
}, false);
return this;
}
-SVGTitleElement.prototype = new SVGElement();
+SVGTitleElement.prototype = Object._create(SVGElement);
function SVGSymbolElement(_doc) {
SVGElement.apply(this, arguments);
return this;
}
-SVGSymbolElement.prototype = new SVGElement();
+SVGSymbolElement.prototype = Object._create(SVGElement);
function SVGUseElement() {
SVGGElement.apply(this, arguments);
SVGURIReference.apply(this);
return this;
};
-SVGUseElement.prototype = new SVGElement();
+SVGUseElement.prototype = Object._create(SVGElement);
function SVGElementInstance() {
/*EventTargetの代用として
/*readonly SVGElementInstance*/ this.nextSibling;
return this;
};
-SVGElementInstance.prototype = new Node();
+SVGElementInstance.prototype = Object._create(Node);
/*SVGElementInstanceList
*/
function SVGElementInstanceList() {
SVGURIReference.apply(this);
return this;
};
-SVGImageElement.prototype = new SVGElement();
+SVGImageElement.prototype = Object._create(SVGElement);
function SVGSwitchElement() {
SVGElement.apply(this, arguments);
return this;
};
-SVGSwitchElement.prototype = new SVGElement();
+SVGSwitchElement.prototype = Object._create(SVGElement);
//bookmarkletから呼び出されたらtrue
var sieb_s;
}, false);
return this;
};
-SVGStyleElement.prototype = new SVGElement();
+SVGStyleElement.prototype = Object._create(SVGElement);
/*SVGPoint
*2次元座標の点(x,y)を表すオブジェクト
this.addEventListener("DOMNodeInserted", this._nodeInsert, false);
return this;
};
-SVGPathElement.prototype = new SVGElement();
+SVGPathElement.prototype = Object._create(SVGElement);
(function(_sproto) {
_sproto._attrModi = function(evt){
var tar = evt.target;
}, false);
return this;
};
-SVGRectElement.prototype = new SVGElement();
+SVGRectElement.prototype = Object._create(SVGElement);
function SVGCircleElement(_doc) {
SVGElement.apply(this);
}, false);
return this;
};
-SVGCircleElement.prototype = new SVGElement();
+SVGCircleElement.prototype = Object._create(SVGElement);
function SVGEllipseElement(_doc) {
SVGElement.apply(this);
}, false);
return this;
};
-SVGEllipseElement.prototype = new SVGElement();
+SVGEllipseElement.prototype = Object._create(SVGElement);
function SVGLineElement(_doc) {
SVGElement.apply(this);
}, false);
return this;
};
-SVGLineElement.prototype = new SVGElement();
+SVGLineElement.prototype = Object._create(SVGElement);
/*_GenericSVGPolyElementインターフェース
* このインターフェースはpolygonとpolyline要素共通のインターフェースとして使用。
_doc = void 0;
return this;
};
-SVGPolylineElement.prototype = new SVGElement();
+SVGPolylineElement.prototype = Object._create(SVGElement);
function SVGPolygonElement(_doc) {
NAIBU._GenericSVGPolyElement.call(this, _doc, "x e");
_doc = void 0;
return this;
};
-SVGPolygonElement.prototype = new SVGElement();
+SVGPolygonElement.prototype = Object._create(SVGElement);
function SVGTextContentElement(_doc) {
SVGElement.apply(this);
};
(function(t) {
-t.prototype = new SVGElement();
+t.prototype = Object._create(SVGElement);
// lengthAdjust Types
/*unsigned short t.LENGTHADJUST_UNKNOWN = 0;
/*unsigned short t.LENGTHADJUST_SPACING = 1;
return this;
};
SVGTextPositioningElement.constructor = SVGTextContentElement;
-SVGTextPositioningElement.prototype = new SVGTextContentElement();
+SVGTextPositioningElement.prototype = Object._create(SVGTextContentElement);
SVGTextPositioningElement.prototype._texto = function(evt) {
var tar = evt.target,
ti = tar.firstChild,
return this;
};
SVGTextElement.constructor = SVGTextPositioningElement;
-SVGTextElement.prototype = new SVGTextPositioningElement();
+SVGTextElement.prototype = Object._create(SVGTextPositioningElement);
function SVGTSpanElement() {
SVGTextElement.apply(this, arguments);
return this;
};
SVGTSpanElement.constructor = SVGTextPositioningElement;
-SVGTSpanElement.prototype = new SVGTextPositioningElement();
+SVGTSpanElement.prototype = Object._create(SVGTextPositioningElement);
function SVGTRefElement(_doc) {
SVGTextPositioningElement.apply(this, arguments);
return this;
};
SVGTRefElement.constructor = SVGTextPositioningElement;
-SVGTRefElement.prototype = new SVGTextPositioningElement();
+SVGTRefElement.prototype = Object._create(SVGTextPositioningElement);
function SVGTextPathElement() {
SVGTextContentElement.apply(this, arguments);
return this;
};
SVGTextPathElement.constructor = SVGTextContentElement;
-SVGTextPathElement.prototype = new SVGTextContentElement();
+SVGTextPathElement.prototype = Object._create(SVGTextContentElement);
(function(t){
// textPath Method Types
return this;
};
SVGAltGlyphElement.constructor = SVGTextPositioningElement;
-SVGAltGlyphElement.prototype = new SVGTextPositioningElement();
+SVGAltGlyphElement.prototype = Object._create(SVGTextPositioningElement);
function SVGAltGlyphDefElement() {
SVGElement.apply(this, arguments);
return this;
};
-SVGAltGlyphDefElement.prototype = new SVGElement();
+SVGAltGlyphDefElement.prototype = Object._create(SVGElement);
function SVGAltGlyphItemElement() {
SVGElement.apply(this, arguments);
return this;
};
-SVGAltGlyphItemElement.prototype = new SVGElement();
+SVGAltGlyphItemElement.prototype = Object._create(SVGElement);
function SVGGlyphRefElement() {
SVGElement.apply(this, arguments);
SVGURIReference.apply(this, arguments);
return this;
};
-SVGGlyphRefElement.prototype = new SVGElement();
+SVGGlyphRefElement.prototype = Object._create(SVGElement);
function SVGPaint() {
SVGColor.apply(this, arguments);
};
(function(t){
-t.prototype = new SVGColor();
+t.prototype = Object._create(SVGColor);
// Paint Types
/*unsigned short t.SVG_PAINTTYPE_UNKNOWN = 0;
/*unsigned short t.SVG_PAINTTYPE_RGBCOLOR = 1;
/*unsigned short t.SVG_MARKER_ORIENT_UNKNOWN = 0;
/*unsigned short t.SVG_MARKER_ORIENT_AUTO = 1;
/*unsigned short t.SVG_MARKER_ORIENT_ANGLE = 2;*/
- t.prototype = new SVGSVGElement();
+ t.prototype = Object._create(SVGSVGElement);
t.prototype.getScreenCTM = SVGElement.prototype.getScreenCTM;
/*void*/ t.prototype.setOrientToAuto = function() {
this.orientType.baseVal = /*t.SVG_MARKER_ORIENT_AUTO*/ 1;
SVGURIReference.apply(this, arguments);
return this;
};
-SVGColorProfileElement.prototype = new SVGElement();
+SVGColorProfileElement.prototype = Object._create(SVGElement);
function SVGColorProfileRule() {
SVGCSSRule.apply(this);
/*unsigned short*/ this.renderingIntent;
return this;
};
-SVGColorProfileRule.prototype = new SVGCSSRule();
+SVGColorProfileRule.prototype = Object._create(SVGCSSRule);
function SVGGradientElement() {
SVGElement.apply(this);
}, false);
return this;
};
-SVGGradientElement.prototype = new SVGElement();
+SVGGradientElement.prototype = Object._create(SVGElement);
// Spread Method Types
/*unsigned short SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN = 0;
/*unsigned short SVGGradientElement.SVG_SPREADMETHOD_PAD = 1;
}, false);
return this;
};
-SVGLinearGradientElement.prototype = new SVGGradientElement();
+SVGLinearGradientElement.prototype = Object._create(SVGGradientElement);
function SVGRadialGradientElement(_doc) {
SVGGradientElement.apply(this);
}, false);
return this;
};
-SVGRadialGradientElement.prototype = new SVGGradientElement();
+SVGRadialGradientElement.prototype = Object._create(SVGGradientElement);
function SVGStopElement() {
SVGElement.apply(this, arguments);
}, false);
return this;
};
-SVGStopElement.prototype = new SVGElement();
+SVGStopElement.prototype = Object._create(SVGElement);
function SVGPatternElement() {
SVGElement.apply(this);
/*unsigned short*/ this.zoomAndPan = /*SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/ 1;
return this;
};
-SVGPatternElement.prototype = new SVGElement();
+SVGPatternElement.prototype = Object._create(SVGElement);
function SVGClipPathElement() {
SVGElement.apply(this, arguments);
/*readonly SVGAnimatedEnumeration*/ this.clipPathUnits = new SVGAnimatedEnumeration();
return this;
};
-SVGClipPathElement.prototype = new SVGElement();
+SVGClipPathElement.prototype = Object._create(SVGElement);
function SVGMaskElement() {
SVGElement.apply(this);
sl = void 0;
return this;
};
-SVGMaskElement.prototype = new SVGElement();
+SVGMaskElement.prototype = Object._create(SVGElement);
function SVGFilterElement() {
SVGElement.apply(this);
//setFilterRes (/*unsigned long*/ filterResX,/*unsigned long*/ filterResY );
return this;
};
-SVGFilterElement.prototype = new SVGElement();
+SVGFilterElement.prototype = Object._create(SVGElement);
function SVGFilterPrimitiveStandardAttributes(ele) {
SVGStylable.apply(this, arguments);
/*readonly SVGAnimatedString*/ this.result = new sl();
sl = void 0;
};
-SVGFilterPrimitiveStandardAttributes.prototype = new SVGStylable();
+SVGFilterPrimitiveStandardAttributes.prototype = Object._create(SVGStylable);
function SVGFEBlendElement() {
SVGElement.apply(this, arguments);
this._fpsa = SVGFilterPrimitiveStandardAttributes(this);
return this;
};
-SVGFEBlendElement.prototype = new SVGElement();
+SVGFEBlendElement.prototype = Object._create(SVGElement);
// Blend Mode Types
/*unsigned short SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN = 0;
/*unsigned short SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL = 1;
this._fpsa = SVGFilterPrimitiveStandardAttributes(this);
return this;
};
-SVGFEGaussianBlurElement.prototype = new SVGElement();
+SVGFEGaussianBlurElement.prototype = Object._create(SVGElement);
/*void*/ SVGFEGaussianBlurElement.prototype.setStdDeviation = function(/*float*/ stdDeviationX, /*float*/ stdDeviationY ) {
};
SVGURIReference.apply(this, arguments);
return this;
};
-SVGCursorElement.prototype = new SVGElement();
+SVGCursorElement.prototype = Object._create(SVGElement);
function SVGAElement(_doc) {
SVGElement.apply(this);
SVGURIReference.apply(this, arguments);
return this;
};
-SVGAElement.prototype = new SVGElement();
+SVGAElement.prototype = Object._create(SVGElement);
function SVGViewElement() {
SVGElement.apply(this, arguments);
/*unsigned short*/ this.zoomAndPan = /*SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/ 1;
return this;
};
-SVGViewElement.prototype = new SVGElement();
+SVGViewElement.prototype = Object._create(SVGElement);
function SVGScriptElement() {
SVGElement.apply(this);
}, false);
return this;
};
-SVGScriptElement.prototype = new SVGElement();
+SVGScriptElement.prototype = Object._create(SVGElement);
function SVGEvent() {
Event.apply(this, arguments);
return this;
};
-SVGEvent.prototype = new Event();
+SVGEvent.prototype = Object._create(Event);
function SVGZoomEvent() {
UIEvent.apply(this, arguments);
/*readonly SVGPoint*/ this.newTranslate = new SVGPoint();
return this;
};
-SVGZoomEvent.prototype = new UIEvent();
+SVGZoomEvent.prototype = Object._create(UIEvent);
function SVGAnimationElement(es) {
if (!!es) {
}, false);
return this;
};
-SVGAnimationElement.prototype = new SVGElement();
+SVGAnimationElement.prototype = Object._create(SVGElement);
/*以下のメソッド(beginElementなど)については、
*別モジュールであるsmil::ElementTimeControl(smil.js)を参照のこと
*/
}, false);
return this;
};
-SVGAnimateElement.prototype = new SVGAnimationElement(1);
+SVGAnimateElement.prototype = Object._create(SVGAnimationElement);
function SVGSetElement(){
SVGAnimationElement.apply(this);
}, false);
return this;
};
-SVGAnimateMotionElement.prototype = new SVGAnimationElement(1);
+SVGAnimateMotionElement.prototype = Object._create(SVGAnimationElement);
function SVGMPathElement() /* :
SVGElement,
SVGURIReference.apply(this);
return this;
};
-SVGMPathElement.prototype = new SVGElement();
+SVGMPathElement.prototype = Object._create(SVGElement);
function SVGAnimateColorElement() {
SVGAnimationElement.apply(this);
}, false);
return this;
};
-SVGAnimateColorElement.prototype = new SVGAnimationElement(1);
+SVGAnimateColorElement.prototype = Object._create(SVGAnimationElement);
function SVGAnimateTransformElement() {
SVGAnimationElement.apply(this);
}, false);
return this;
};
-SVGAnimateTransformElement.prototype = new SVGAnimationElement(1);
+SVGAnimateTransformElement.prototype = Object._create(SVGAnimationElement);
function SVGFontElement() /*:
SVGElement,
}, false);
return this;
};
-SVGFontElement.prototype = new SVGElement();
+SVGFontElement.prototype = Object._create(SVGElement);
function SVGGlyphElement() /*:
SVGElement,
SVGElement.apply(this);
return this;
};
-SVGGlyphElement.prototype = new SVGElement();
+SVGGlyphElement.prototype = Object._create(SVGElement);
function SVGMissingGlyphElement() /*:
SVGElement,
SVGElement.apply(this);
return this;
};
-SVGMissingGlyphElement.prototype = new SVGElement();
+SVGMissingGlyphElement.prototype = Object._create(SVGElement);
function SVGHKernElement() {
SVGElement.apply(this);
return this;
};
-SVGHKernElement.prototype = new SVGElement();
+SVGHKernElement.prototype = Object._create(SVGElement);
function SVGVKernElement() {
SVGElement.apply(this);
return this;
};
-SVGVKernElement.prototype = new SVGElement();
+SVGVKernElement.prototype = Object._create(SVGElement);
function SVGFontFaceElement() {
SVGElement.apply(this);
}, false);
return this;
};
-SVGFontFaceElement.prototype = new SVGElement();
+SVGFontFaceElement.prototype = Object._create(SVGElement);
function SVGFontFaceSrcElement() {
SVGElement.apply(this);
return this;
};
-SVGFontFaceSrcElement.prototype = new SVGElement();
+SVGFontFaceSrcElement.prototype = Object._create(SVGElement);
function SVGFontFaceUriElement() {
SVGElement.apply(this);
SVGURIReference.apply(this);
return this;
};
-SVGFontFaceUriElement.prototype = new SVGElement();
+SVGFontFaceUriElement.prototype = Object._create(SVGElement);
function SVGFontFaceFormatElement() {
SVGElement.apply(this);
return this;
};
-SVGFontFaceFormatElement.prototype = new SVGElement();
+SVGFontFaceFormatElement.prototype = Object._create(SVGElement);
function SVGFontFaceNameElement() {
SVGElement.apply(this);
return this;
};
-SVGFontFaceNameElement.prototype = new SVGElement();
+SVGFontFaceNameElement.prototype = Object._create(SVGElement);
function SVGDefinitionSrcElement() {
SVGElement.apply(this);
return this;
};
-SVGDefinitionSrcElement.prototype = new SVGElement();
+SVGDefinitionSrcElement.prototype = Object._create(SVGElement);
function SVGMetadataElement() {
SVGElement.apply(this);
return this;
};
-SVGMetadataElement.prototype = new SVGElement();
+SVGMetadataElement.prototype = Object._create(SVGElement);
function SVGForeignObjectElement() /*:
SVGElement,
sl = void 0;
return this;
};
-SVGForeignObjectElement.prototype = new SVGElement();
+SVGForeignObjectElement.prototype = Object._create(SVGElement);
//#endif _SVG_IDL_
/*SVGの要素マッピング(DOMでは定められていないが、必須)