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

Atom - Less Autocompile #175

Open
morcegon opened this issue Mar 20, 2017 · 0 comments
Open

Atom - Less Autocompile #175

morcegon opened this issue Mar 20, 2017 · 0 comments

Comments

@morcegon
Copy link

When I import LessHat and save my .less file using less-autocompile plugin, the Atom return an error to me:

JavaScript evaluation error: 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'". from (function(e){e=e||"0";var t=/\d/gi,r=/(?:\s|^)(\.?\d+\.?\d*)(?![^(]*\)|\w|%|\.)/gi;return/^[^, ]*,/.test(e)&&(e=e.replace(/(?:,)(?![^(]*\))/g,"")),t.test(e)&&(e=e.replace(r,function(e){return 0==e&&e||e+"px"})),e})((function(){var r="[0, 0, 0, 0]";return r=r.replace(/^\[|\]$/g,"")})())

I tried to disable all the other plugins and a new installation of Atom, without preferences and plugins, but the error still show up.

This error only show when I import lesshat file, the others .less files was compiled normally.

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

1 participant