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

Doesn't work in Adobe AIR #10

Open
rileydutton opened this issue Sep 13, 2010 · 1 comment
Open

Doesn't work in Adobe AIR #10

rileydutton opened this issue Sep 13, 2010 · 1 comment

Comments

@rileydutton
Copy link

I am using js.io included with Hookbox. While it works great in all the browser's I've tested it on, it fails completely in Adobe AIR. Worked a bit with mcarter tonight and we think we have the problem narrowed down to Adobe's sandbox restrictions which prevent using eval() after onLoad has fired. Would there be any way to offer a sort of .compile() function or something similar which will allow this to work around that restriction?

@mcarter
Copy link
Contributor

mcarter commented Sep 13, 2010

The ideal solution is twofold

  1. Make the csp client use JSON.parse instead of eval
  2. Have the compiler create a transformed version of the code that doesn't use with/eval

Number 2 is difficult, so at the least we should have compiled versions of js.io that will import all environment/transport combinations it contains at load time.

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