UNPKG
just-animate
Version:
beta (0.3.0)
latest (2.6.2)
next (2.5.1-alpha1)
2.6.2
2.6.1
2.6.0
2.5.1
2.5.1-alpha1
2.5.0
2.4.0
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
2.0.0-beta-1
2.0.0-alpha-5
2.0.0-alpha-4
2.0.0-alpha-3
2.0.0-alpha-2
2.0.0-alpha-1
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0-beta.20161011a
1.0.0-beta.20161009a
1.0.0-beta.20160930a
1.0.0-beta.20160922a
1.0.0-beta.20160921a
0.6.2
0.6.1
0.6.0
0.5.0
0.4.5
0.4.5-b
0.4.4
0.4.4-c
0.4.4-b
0.4.4-a
0.4.3
0.4.3-a
0.4.2
0.4.2-e
0.4.2-d
0.4.2-c
0.4.2-b
0.4.1
0.4.0
0.3.0
0.3.0-b
0.1.0
_Making Animation Simple_
just-animate.com
just-animate/just-animate
just-animate
/
lib.es2015
/
lib
/
reducers
/
update-rate.js
7 lines
(6 loc)
•
183 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ update }
from
'./update'
;
import
{ _ }
from
'../utils/constants'
;
export
const
updateRate
= (
model, rate, ctx
) => { model.
rate
= rate ||
1
;
update
(model, _, ctx); };