GetScatter / scatter-js

Importable JavaScript library that allows web applications to directly interface with Scatter Desktop, Classic and Mobile.
MIT License
262 stars 148 forks source link

ScatterCDN failed #187

Open Dexaran opened 3 years ago

Dexaran commented 3 years ago

https://github.com/Dexaran/dexaran.github.io/blob/master/contract_code_cleaner/index.html#L27-L33

The ScatterCDN does not work.

(index):7 Uncaught ReferenceError: loginWithScatter is not defined
    at HTMLButtonElement.onclick ((index):7)
onclick @ (index):7
(index):21 GET https://cdn.scattercdn.com/file/scatter-cdn/js/latest/scatterjs-core.min.js net::ERR_NAME_NOT_RESOLVED
(index):22 GET https://cdn.scattercdn.com/file/scatter-cdn/js/latest/scatterjs-plugin-eosjs.min.js net::ERR_NAME_NOT_RESOLVED
(index):23 GET https://cdn.scattercdn.com/file/scatter-cdn/js/latest/scatterjs-plugin-eosjs2.min.js net::ERR_NAME_NOT_RESOLVED
(index):29 GET https://cdn.scattercdn.com/file/scatter-cdn/js/latest/scatterjs-core.min.js net::ERR_NAME_NOT_RESOLVED
(index):30 GET https://cdn.scattercdn.com/file/scatter-cdn/js/latest/scatterjs-plugin-eosjs.min.js net::ERR_NAME_NOT_RESOLVED
(index):31 GET https://cdn.scattercdn.com/file/scatter-cdn/js/latest/scatterjs-plugin-eosjs2.min.js net::ERR_NAME_NOT_RESOLVED
(index):38 Uncaught ReferenceError: ScatterJS is not defined
    at (index):38
(anonymous) @ (index):38
(index):67 Uncaught ReferenceError: ScatterJS is not defined
    at loginWithScatter ((index):67)
    at HTMLButtonElement.onclick ((index):7)

Test: https://dexaran.github.io/contract_code_cleaner/