svnno****@sourc*****
svnno****@sourc*****
2009年 9月 28日 (月) 19:26:36 JST
Revision: 1295
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1295
Author: dhrname
Date: 2009-09-28 19:26:36 +0900 (Mon, 28 Sep 2009)
Log Message:
-----------
SVGExceptionオブジェクトの実装
Modified Paths:
--------------
branches/DOM/org/w3c/dom/svg.js
Modified: branches/DOM/org/w3c/dom/svg.js
===================================================================
--- branches/DOM/org/w3c/dom/svg.js 2009-09-27 13:56:01 UTC (rev 1294)
+++ branches/DOM/org/w3c/dom/svg.js 2009-09-28 10:26:36 UTC (rev 1295)
@@ -1570,14 +1570,20 @@
interface SVGSVGElement;
interface SVGElementInstance;
interface SVGElementInstanceList;
- exception SVGException {
- unsigned short code;
- };
*/
+function SVGException(code) {
+ /*unsigned short*/ this.code = code;
+};
+SVGException.counstructor = Error;
+SVGException.prototype = new Error();
+*/
+with (SVGException) {
// SVGExceptionCode
/*const unsigned short*/ SVG_WRONG_TYPE_ERR = 0;
/*const unsigned short*/ SVG_INVALID_VALUE_ERR = 1;
/*const unsigned short*/ SVG_MATRIX_NOT_INVERTABLE = 2;
+};
+
/*SVGElement
*すべてのSVG関連要素の雛形となるオブジェクト
*/