[Sie-announce] SIEコード [1097] NAIBU. XLinkの整理、すなわち、変数tbthの削除

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 3月 18日 (水) 23:30:55 JST


Revision: 1097
          http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1097
Author:   dhrname
Date:     2009-03-18 23:30:55 +0900 (Wed, 18 Mar 2009)

Log Message:
-----------
NAIBU.XLinkの整理、すなわち、変数tbthの削除

Modified Paths:
--------------
    branches/04x/046/sie.js

Modified: branches/04x/046/sie.js
===================================================================
--- branches/04x/046/sie.js	2009-03-18 14:18:15 UTC (rev 1096)
+++ branches/04x/046/sie.js	2009-03-18 14:30:55 UTC (rev 1097)
@@ -1760,11 +1760,10 @@
 NAIBU.XLink.prototype.set = function() {
   try {
   if (this.href) {
-    var tbth = this.base + this.href;
+    var uri = this.base + this.href;
     if (this.href.indexOf(".") === 0) { //相対URIの場合
-      tbth = this.href;
+      uri = this.href;
     }
-    var uri = tbth;
     var attr = "href";
     switch (this.show) {
       case "embed":
@@ -1905,9 +1904,10 @@
   obj.parentNode.insertBefore(ob,obj);
   STdocument[dn].read();
   STdocument[dn].set();
+  obj.parentNode.removeChild(oba);
   alert((new Date()).getTime() - dn.getTime());
+  data = oba = dc = null;
   if (NAIBU.STObject !== void 0) {NAIBU.STObject.next();}
-  data = dc = null;
 }
 }
 




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