Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: call to eval() blocked by CSP #1037

Open
ajira86 opened this issue Nov 6, 2014 · 1 comment
Open

Error: call to eval() blocked by CSP #1037

ajira86 opened this issue Nov 6, 2014 · 1 comment

Comments

@ajira86
Copy link

ajira86 commented Nov 6, 2014

Hello,

I tried to load a KineticJS game as a FirefoxOS app and get this error

Error: call to eval() blocked by CSP

I want to open this issue to discuss about this subject. Could it be solved easily ? (eval is only used two times in the lib). Is it interesting for you to have a compatibility with FireFoxOS app ?

@jadpole
Copy link

jadpole commented Nov 11, 2014

I had the same problem. Interestingly, it works when using kinetic.js, but doesn't with the minified version. You should use the non-minified file (at least during development phase), and remove the comments when you want to redistribute your app.
I guess the problem is in the minifier, not Kinetic itself.
Hoping that helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants