[Sie-announce] SIEコード [1894] 変数stlogの移動

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 6月 15日 (火) 23:32:22 JST


Revision: 1894
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1894
Author:   dhrname
Date:     2010-06-15 23:32:22 +0900 (Tue, 15 Jun 2010)

Log Message:
-----------
変数stlogの移動

Modified Paths:
--------------
    branches/06x/061/org/w3c/dom/events.js
    branches/06x/061/org/w3c/dom/smil.js
    branches/06x/061/org/w3c/dom/svg.js

Modified: branches/06x/061/org/w3c/dom/events.js
===================================================================
--- branches/06x/061/org/w3c/dom/events.js	2010-06-15 14:31:06 UTC (rev 1893)
+++ branches/06x/061/org/w3c/dom/events.js	2010-06-15 14:32:22 UTC (rev 1894)
@@ -55,7 +55,6 @@
  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  */
 //以下は例外処理のログをとるためのもの。開発者以外は削除すること
-var stlog = new STLog(true);
 function STLog(jou) {
 this.jo = jou;
 if (this.jo) {

Modified: branches/06x/061/org/w3c/dom/smil.js
===================================================================
--- branches/06x/061/org/w3c/dom/smil.js	2010-06-15 14:31:06 UTC (rev 1893)
+++ branches/06x/061/org/w3c/dom/smil.js	2010-06-15 14:32:22 UTC (rev 1894)
@@ -81,7 +81,7 @@
   /*readonly attribute long*/             this.detail;
   return this;
 };
-TiemEvent.counstructor = Event;
+TimeEvent.counstructor = Event;
 TimeEvent.prototype = new Event();
 /*void*/  TimeEvent.prototype.initTimeEvent = function(/*DOMString*/ typeArg, 
                                      /*views::AbstractView*/ viewArg, 

Modified: branches/06x/061/org/w3c/dom/svg.js
===================================================================
--- branches/06x/061/org/w3c/dom/svg.js	2010-06-15 14:31:06 UTC (rev 1893)
+++ branches/06x/061/org/w3c/dom/svg.js	2010-06-15 14:32:22 UTC (rev 1894)
@@ -1310,7 +1310,12 @@
   _init : function() {
   /*objeiはobject要素かembed要素*/
   var xmlhttp = NAIBU.xmlhttp, objei = this._tar, thistar = this;
-  xmlhttp.open("GET", objei.getAttribute("data"), true);
+  if (this._tar.nodeName === "object") {
+    var data = "data";
+  } else {
+    var data = "src";
+  }
+  xmlhttp.open("GET", objei.getAttribute(data), true);
   xmlhttp.setRequestHeader("X-Requested-With", "XMLHttpRequest");
   xmlhttp.onreadystatechange = function() {
     if (xmlhttp.readyState === 4  &&  xmlhttp.status === 200) {
@@ -3912,6 +3917,7 @@
   } catch(e) {}
 }
 NAIBU.addEvent("load", (function() {
+  stlog = new STLog(true);
   var xmlhttp; //XMLHttpオブジェクトを生成
   try {
     xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");




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