gif.js
gif.js copied to clipboard
Simple validation for render method
Just added a validation check for the render method in case user attempt to render without any frames. Allows the user to call it again without having to reconstruct the class.
Also set the @running
variable to false
after 'finished' is emitted in the finishRendering
method for similar reason as above.