Loaded external script linking to My canvas but I'm getting this Error.
But when i use
python SimpleHttpServer
Module it works fine.
<script type="text/paperscript" src="js/welcome_canvas.js" canvas="welcome-canvas"></script>
Loaded external script linking to My canvas but I'm getting this Error.
But when i use
python SimpleHttpServer
Module it works fine.
<script type="text/paperscript" src="js/welcome_canvas.js" canvas="welcome-canvas"></script>
The problem is in ordinary you can't use ajax-requests for local files because of security politics.
But you can setup flag for Google Chrome which allow you do this How to launch html using Chrome at "--allow-file-access-from-files" mode?
It is CORS(Cross-origin resource sharing) ERROR, not a bug.
Your method python SimpleHttpServer
is one of the method which bypass CORS ERROR.
Paper.js external file will not load might help you.