Skip to content

Commit

Permalink
anim: more changes to anim helpers memory efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Jul 20, 2009
1 parent d3cad11 commit a497721
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/anim/anim.js
Expand Up @@ -685,7 +685,9 @@
];
}

timeline = new glow.anim.Timeline(channels);
timeline = new glow.anim.Timeline(channels, {
destroyOnComplete: true
});

events.addListener(timeline, "start", opts.onStart);
events.addListener(timeline, "complete", opts.onComplete);
Expand Down

0 comments on commit a497721

Please sign in to comment.