svnno****@sourc*****
svnno****@sourc*****
2010年 1月 13日 (水) 22:46:42 JST
Revision: 1575
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1575
Author: dhrname
Date: 2010-01-13 22:46:42 +0900 (Wed, 13 Jan 2010)
Log Message:
-----------
Modified Paths:
--------------
branches/05x/058/sie.js
Modified: branches/05x/058/sie.js
===================================================================
--- branches/05x/058/sie.js 2010-01-13 13:42:58 UTC (rev 1574)
+++ branches/05x/058/sie.js 2010-01-13 13:46:42 UTC (rev 1575)
@@ -289,12 +289,12 @@
} else {
if (te.nodeType === 1) { //要素ならば
var ten = te.nodeName;
- if (_isText[ten]) {
- s = new STText(te, matrix, w, h);
+ if (_isGroup[ten]) {
+ s = new STGroupElement(te, matrix, w, h);
this.children[this.children.length] = s;
var s = null; //var宣言によって、再設定
- } else if (_isGroup[ten]) {
- s = new STGroupElement(te, matrix, w, h);
+ } else if (_isText[ten]) {
+ s = new STText(te, matrix, w, h);
this.children[this.children.length] = s;
var s = null;
} else {
@@ -317,7 +317,7 @@
}
te = te.nextSibling;
}
- } catch(e){stlog.add(e,3002);}
+ } catch(e){stlog.add(e,3002); te=null;}
} while (te);
}
nods = name = gname = matrix = cmatrix = w = h = null;