KineticJS
KineticJS copied to clipboard
Error: call to eval() blocked by CSP
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 ?
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!