easel JS security restrictions on localhost machine

帅比萌擦擦* 提交于 2019-12-02 01:26:58

EaselJS needs to read pixel values to determine mouse collision. I recommend using a local server like MAMP (osx) or XAMPP (win) to do local testing.

http://www.mamp.info/en/index.html http://www.apachefriends.org/en/xampp.html

There are some good ones as well. Internally, we use Grunt for development, and it has a Connect module that provides the same functionality. It requires a bit more setup, but has a ton of other capabilities like code minification, sass compiling, browser auto-reload, etc.

http://gruntjs.com/ https://github.com/gruntjs/grunt-contrib-connect

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!