zhipeng-jia / snappyjs

JavaScript implementation of Google's Snappy compression library
MIT License
151 stars 30 forks source link

可以支持微信小程序使用么 #4

Closed junjiejiang-mq closed 6 years ago

zhipeng-jia commented 6 years ago

我没测试过微信小程序的环境下是否能使用 snappyjs。 理论上来说只要微信小程序的 JavaScript 引擎支持 ArrayBuffer,snappyjs 就应该能正常工作。 如果你有条件是否能帮助测试一下?

junjiejiang-mq commented 6 years ago

@zhipeng-jia 恩,不行, WAService.js:15 Uncaught TypeError: Cannot read property 'SnappyJS' of undefined at Object.1../index (snappyjs.min.js? [sm]:13)