Paperjs loading external Javascript file for Canvas -


error message

loaded external script linking canvas i'm getting error.

but when use

python simplehttpserver

module works fine.

<script type="text/paperscript" src="js/welcome_canvas.js" canvas="welcome-canvas"></script> 

it cors(cross-origin resource sharing) error, not bug. method python simplehttpserver 1 of method bypass cors error. paper.js external file not load might you.


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -