[Sie-announce] SIEコード [1820] SVGEventsの追加

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 5月 13日 (木) 23:31:43 JST


Revision: 1820
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1820
Author:   dhrname
Date:     2010-05-13 23:31:41 +0900 (Thu, 13 May 2010)

Log Message:
-----------
SVGEventsの追加

Modified Paths:
--------------
    branches/ufltima/dom/events.js

Modified: branches/ufltima/dom/events.js
===================================================================
--- branches/ufltima/dom/events.js	2010-05-12 14:47:54 UTC (rev 1819)
+++ branches/ufltima/dom/events.js	2010-05-13 14:31:41 UTC (rev 1820)
@@ -229,9 +229,11 @@
   if (eventType === "MutationEvents") {
     evt = new MutationEvent();
   } else if (eventType === "MouseEvents") {
-    evt = new MouseEvent(window.event);
+    evt = new MouseEvent();
   } else if (eventType === "UIEvents") {
-    evt = new MouseEvent(window.event);
+    evt = new UIEvent();
+  } else if (eventType === "SVGEvents") {
+    evt = new SVGEvent();
   } else {
     evt =  new Event();
   }




Sie-announce メーリングリストの案内
Back to archive index