OSDN Git Service
(root)
/
sie
/
sie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd22dac
)
Lighten a simpleDuration bind inheritance
author
dhrname
<dhrname@users.sourceforge.jp>
Wed, 11 Feb 2015 12:32:01 +0000
(21:32 +0900)
committer
dhrname
<dhrname@users.sourceforge.jp>
Wed, 11 Feb 2015 12:32:01 +0000
(21:32 +0900)
org/w3c/dom/smil.js
patch
|
blob
|
history
diff --git
a/org/w3c/dom/smil.js
b/org/w3c/dom/smil.js
index
55f6215
..
a013c55
100644
(file)
--- a/
org/w3c/dom/smil.js
+++ b/
org/w3c/dom/smil.js
@@
-317,11
+317,9
@@
base("$frame").mix ( {
\r
/*単純持続時間*/
\r
simpleDur: function() {
\r
- if ((this.dur === "indefinite") || !this.dur) {
\r
- return null;
\r
- } else {
\r
- return Math.floor(this.offset(this.dur) * this.fpms);
\r
- }
\r
+ return ( (this.dur === "indefinite") || !this.dur ) ?
\r
+ null
\r
+ : Math.floor(this.offset(this.dur) * this.fpms) ;
\r
},
\r
\r
/*解決した(計算する)ときの時間*/
\r