Skip to content

Commit

Permalink
sync example now uses encodeSync
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrumins committed Aug 7, 2010
1 parent 39bd23c commit 3a88d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gif.js
Expand Up @@ -5,7 +5,7 @@ var Buffer = require('buffer').Buffer;

var terminal = fs.readFileSync('./terminal.rgb');

var gif = new Gif(terminal, 720, 400, 'rgb').encode();
var gif = new Gif(terminal, 720, 400, 'rgb').encodeSync();

fs.writeFileSync('./terminal.gif', gif, 'binary');

0 comments on commit 3a88d34

Please sign in to comment.