From 7620911dda839a4c67f3e4bc38e5cf953c70ac53 Mon Sep 17 00:00:00 2001 From: dhrname Date: Sun, 18 Oct 2015 23:09:07 +0900 Subject: [PATCH] Support a detail property fo the repeatEvent object --- org/w3c/dom/smil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/w3c/dom/smil.js b/org/w3c/dom/smil.js index fcfea44..a8fa7fb 100644 --- a/org/w3c/dom/smil.js +++ b/org/w3c/dom/smil.js @@ -1272,7 +1272,7 @@ base("$frame").up("$svgEvent").mix( { if ( (obj.eventType === "repeat") && (obj.count < obj.limit) ) { /*リピートイベントが、リピート制限内である場合*/ /*numの段階で、何回リピートしたかを求める*/ - obj.count += Math.floor( (num - frame) / obj.simpleDuration); + evt.detail = obj.count += Math.floor( (num - frame) / obj.simpleDuration); cobj = obj; } else { /*ポインタの連結を変更することで、リストからobj を除去*/ -- 2.11.0