0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 17:00:40 +01:00

export generateKeyframes

This commit is contained in:
Rich-Harris 2017-05-03 13:13:04 -04:00
parent 4f96b51e55
commit 409043bb9b

View File

@ -4,7 +4,7 @@ export function linear ( t ) {
return t;
}
function generateKeyframes ( a, b, delta, duration, ease, fn, node, style ) {
export function generateKeyframes ( a, b, delta, duration, ease, fn, node, style ) {
var id = '__svelte' + ~~( Math.random() * 1e9 ); // TODO make this more robust
var keyframes = '@keyframes ' + id + '{\n';