Blockstream / esplora

Explorer for Bitcoin and Liquid
MIT License
1.01k stars 399 forks source link

"Uncaught SyntaxError: Use of const in strict mode" #108

Open chill117 opened 5 years ago

chill117 commented 5 years ago

For older browsers that don't support the const syntax, the following error occurs in the console and a blank screen is shown to the user:

Uncaught SyntaxError: Use of const in strict mode

User agent string from browser used:

Mozilla/5.0 (Linux; Android 5.0.2; Android SDK built for x86_64 Build/LSY66K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36

shesek commented 5 years ago

Our babel compilation target should transpile to ES5-compatible code. It might be one of the dependencies not transpiling properly. Will look into this.

In the meanwhile, you could access the noscript version of the explorer at https://blockstream.info/nojs/

yjwSurCode commented 3 years ago

解决了吗