Skip to content
Browse files

sync example now uses encodeSync

  • Loading branch information...
1 parent 39bd23c commit 3a88d34ff90c6d2a6b30d86d162053653dee28c2 @pkrumins pkrumins committed Aug 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/gif.js
View
2 tests/gif.js
@@ -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.
Something went wrong with that request. Please try again.