Fix variable leak

This commit is contained in:
sapics 2016-06-14 12:20:58 +09:00
parent 0cb9c50e8f
commit 7b91e41131

View file

@ -95,7 +95,7 @@ module.exports = function(paper) {
frameDuration = 1 / options.fps, frameDuration = 1 / options.fps,
startTime = Date.now(), startTime = Date.now(),
lastTime = startTime, lastTime = startTime,
padding = options.padding || ((options.amount - 1) + '').length; padding = options.padding || ((options.amount - 1) + '').length,
paddedStr = Array(padding + 1).join('0'); paddedStr = Array(padding + 1).join('0');
// Start exporting frames by exporting the first frame: // Start exporting frames by exporting the first frame: