svnno****@sourc*****
svnno****@sourc*****
2009年 12月 12日 (土) 23:50:53 JST
Revision: 1462
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1462
Author: dhrname
Date: 2009-12-12 23:50:53 +0900 (Sat, 12 Dec 2009)
Log Message:
-----------
Modified Paths:
--------------
branches/05x/056/sie.js
Modified: branches/05x/056/sie.js
===================================================================
--- branches/05x/056/sie.js 2009-12-12 14:45:00 UTC (rev 1461)
+++ branches/05x/056/sie.js 2009-12-12 14:50:53 UTC (rev 1462)
@@ -2250,7 +2250,7 @@
};
STSetElement.prototype.set = function(w,h) {
this.to = this.tar.getAttribute("to");
- var offset, beginOffset = 0;
+ var offset = 0;
try {
offset = this.getOffset(this.begin);
if ( /(mouse|activ|click)/.test(this.begin) ) { //イベントがある場合
@@ -2266,7 +2266,6 @@
})(this, offset, tar);
} else {
this.beginElementAt(offset);
- beginOffset = offset;
}
if (this.dur) {
this.simpleDuration = this.getOffset(this.dur);
@@ -2403,9 +2402,9 @@
_noie_STSetElement.prototype = new STSetElement();
_noie_STSetElement.prototype.set = function (){
this.to = this.tar.getAttributeNS(null, "to");
- var offset, beginOffset = 0;
+ var offset = 0;
try {
- offset = this.getOffset(this.end);
+ offset = this.getOffset(this.begin);
if ( /(mouse|activ|click)/.test(this.begin) ) { //イベントがある場合
var tar;
if ( /\.\D/.test(this.begin) ) {
@@ -2420,7 +2419,6 @@
})(this, offset, tar);
} else {
this.beginElementAt(offset);
- beginOffset = offset;
}
if (this.dur) {
this.simpleDuration = this.getOffset(this.dur);