ldez / cubejs

cube.js -- JavaScript library for modeling and solving the 3x3x3 Rubik's Cube
http://ldez.github.io/cubejs/
MIT License
310 stars 47 forks source link

DEMO doesn't work #115

Open Jerige opened 2 years ago

Jerige commented 2 years ago

Initializing is never finished. The error is

jquery-3.1.0.min.js:2 Uncaught DOMException: Failed to construct 'Worker': Script at 'file:///C:/Users/jr/Downloads/cubejs-master/docs/lib/worker.js' **cannot be accessed from origin 'null'.**
    at Function._asyncSetup (file:///C:/Users/jr/Downloads/cubejs-master/docs/lib/async.js:12:22)
    at Function.asyncInit (file:///C:/Users/jr/Downloads/cubejs-master/docs/lib/async.js:34:12)
    at HTMLDocument.<anonymous> (file:///C:/Users/jr/Downloads/cubejs-master/docs/demo.js:51:10)
    at j (https://code.jquery.com/jquery-3.1.0.min.js:2:29568)
    at k (https://code.jquery.com/jquery-3.1.0.min.js:2:29882)

I tried in Edge, Chrome, Firefox and everywhere this error appears. Any suggestions?

Thx!

ldez commented 2 years ago

Hello,

the demo page works for me on Firefox and Chrome.

http://ldez.github.io/cubejs/

Maybe it's related to the fact that you are using the file locally without a server.