ardcore / atom-language-settings

MIT License
8 stars 2 forks source link

EvalError in newer Atom versions #1

Open smashwilson opened 10 years ago

smashwilson commented 10 years ago

Hello! I'm seeing content security policy errors trying to use this in newer versions of Atom (> 0.70.0):

Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
/Users/smash/.atom/packages/language-syntax-settings/node_modules/cson/node_modules/js2coffee/out/l…:383

It looks like it might be as simple as updating cson.

Blaisorblade commented 10 years ago

Same error here.

Nicolab commented 9 years ago

Hello,

same here, when I run the language settings: current command

Uncaught TypeError: Object EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
 has no method 'split'

Atom v0.108 language-settings v2.6.0

art-solopov commented 9 years ago

I confirm the error. Atom 0.116.0, Linux Mint.

cristobal commented 9 years ago

I can confirm the same error on Atom 0.135.0, OS X 10.9.5 Event tried upgrading cson to latest version.