From 3338d6ff1a0d0cd1cbf0260c4180b34a44363825 Mon Sep 17 00:00:00 2001 From: Alcor Salvador Date: Thu, 17 Mar 2022 09:13:13 -0500 Subject: [PATCH] Update README.hbs Added Revision Tab as requested --- templates/README.hbs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/README.hbs b/templates/README.hbs index 6b49cc5..3bf4160 100644 --- a/templates/README.hbs +++ b/templates/README.hbs @@ -10,6 +10,17 @@ The library uses Dean McNamee's [`omggif`](https://github.com/deanm/omggif) GIF At present, the module only works in Node.js. Includes Typescript typings. +## Notice + +A default behavior has been changed to restore functionality from [`omggif`](https://github.com/deanm/omggif) to allow a non-looping GIF with null. + +Previously the default allowed for infinite loops, but now you need to specify that behavior as follows. + +```js +// infinite loops +codec.encodeGif(frames, { loops: 0 }); +``` + ## Installation ```