[Sie-announce] SIEコード [1586] try構文の削除

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 1月 17日 (日) 23:30:50 JST


Revision: 1586
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1586
Author:   dhrname
Date:     2010-01-17 23:30:50 +0900 (Sun, 17 Jan 2010)

Log Message:
-----------
try構文の削除

Modified Paths:
--------------
    branches/05x/058/sie.js

Modified: branches/05x/058/sie.js
===================================================================
--- branches/05x/058/sie.js	2010-01-17 12:37:59 UTC (rev 1585)
+++ branches/05x/058/sie.js	2010-01-17 14:30:50 UTC (rev 1586)
@@ -181,7 +181,6 @@
   } catch(n) {stlog.add(n,109);}
 };
 SVGtoVML.prototype.getObject = function stvgetob( /*string*/ tag, /*object*/ st, /*string*/nodes, /*float*/w, h) {
-  try {
   var li = this.rootElement.getElementsByTagName(tag);
   var la = [];
   for (var i=0,lli=li ? li.length : 0;i<lli;++i) {
@@ -189,14 +188,13 @@
   }
   this[nodes] = la;
   li = null;
-  } catch(e) {stlog.add(e,129);}
 };
 SVGtoVML.prototype.set = function stvset(ob) {
   var w = this.w, h = this.h, c = this.children;
   var sw = this.swi.value, sh = this.shi.value;
+  try {
   this.setObject(this.use,sw,sh);
   this.setObject(c,sw,sh);
-  try {
   var backr = document.createElement("v:rect"); //背景の作成
   backr.style.position = "absolute";
   backr.style.width = w+ "px";
@@ -246,11 +244,9 @@
   } catch(e) {stlog.add(e,138);}
 };
 SVGtoVML.prototype.setObject = function stvsetob( /*SVGElement*/ arr, /*float*/ sw, /*float*/ sh) {
-  try {
   for (var i=0,arri=arr.length;i<arri;++i) {
       arr[i].set(sw,sh);
   }
-  } catch(e) {stlog.add(e,170);}
 };
 
 //chset childNodesで要素を作成していく




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