Closed ebrensi closed 4 years ago
This merge introduces a few changes to bring gif.js up-to-date for npm install and bundling. No runtime functionality is affected.
(1) updates gif.coffee to work with CoffeeScript 2. From https://coffeescript.org/#breaking-changes-classes :
gif.coffee
super and this In the constructor of a derived class (a class that extends another class), this cannot be used before calling super
(2) updates the deprecated npm script name "prepublish" for building dist files.
dist
(3) hard-codes the worker script name gif.worker.coffee to avoid problems with bundler name resolution.
gif.worker.coffee
(4) updates the files in dist (ran build script)
This merge introduces a few changes to bring gif.js up-to-date for npm install and bundling. No runtime functionality is affected.
(1) updates
gif.coffee
to work with CoffeeScript 2. From https://coffeescript.org/#breaking-changes-classes :(2) updates the deprecated npm script name "prepublish" for building
dist
files.(3) hard-codes the worker script name
gif.worker.coffee
to avoid problems with bundler name resolution.(4) updates the files in
dist
(ran build script)