Closed mattbierner closed 8 years ago
Bug A few vars in LZWEncoder are globals, preventing strict mode from working.
I was trying to use this library with Babel/webpack, which automatically tacks on "use strict".
Fix Scope the 3 offending vars to the LZWEncoder class instead, which seems like the original intent.
LZWEncoder
Looks good to me, thanks for the patch :+1:
This has been merged/released in 0.4.3. Thanks again!
0.4.3
Bug A few vars in LZWEncoder are globals, preventing strict mode from working.
I was trying to use this library with Babel/webpack, which automatically tacks on "use strict".
Fix Scope the 3 offending vars to the
LZWEncoder
class instead, which seems like the original intent.