ブラウザでSVGを表示するSIEの開発 (SIE - to display SVG on legacy browsers)
| リビジョン | d19776067c1c439128423eaeab1d64fd2be0395c (tree) |
|---|---|
| 日時 | 2015-09-13 20:20:44 |
| 作者 | dhrname <dhrname@user...> |
| コミッター | dhrname |
Modify the listener method of the object
| @@ -321,7 +321,7 @@ base("$frame").mix ( { | ||
| 321 | 321 | this.begin = this.eventOffset + this.$frame.currentFrame - Math.floor( (Date.now() - evt.timeStamp) * this.fpms ); |
| 322 | 322 | var s = this.$activate; |
| 323 | 323 | s.begin = this.begin; |
| 324 | - this.activeTime = s.call(); | |
| 324 | + this.activeTime = s.call() || Number.MAX_VALUE; | |
| 325 | 325 | this.simpleDuration = s.simpleDur; |
| 326 | 326 | s = void 0; |
| 327 | 327 | this.$frame.addLine(this); |
| @@ -1009,6 +1009,9 @@ base("$calcMode").up("$attribute").mix( { | ||
| 1009 | 1009 | /*アニメーションの呈示値を呼び出す関数*/ |
| 1010 | 1010 | _tocall: function() {}, |
| 1011 | 1011 | |
| 1012 | + /*set要素かどうか*/ | |
| 1013 | + isSetElement: true, | |
| 1014 | + | |
| 1012 | 1015 | init: function(ele) { |
| 1013 | 1016 | var line = this.push(ele); |
| 1014 | 1017 | if (ele && ele.getAttributeNS) { |
| @@ -1052,6 +1055,9 @@ base("$calcMode").up("$attribute").mix( { | ||
| 1052 | 1055 | /*アニメ関数の配列*/ |
| 1053 | 1056 | funcs: [], |
| 1054 | 1057 | |
| 1058 | + /*set要素かどうか*/ | |
| 1059 | + isSetElement: false, | |
| 1060 | + | |
| 1055 | 1061 | /*進捗率advanceから、呈示値を求める*/ |
| 1056 | 1062 | _tocall: function(advance) { |
| 1057 | 1063 | var tf = this.funcs; |