Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an al... #11

Open
dajonline opened this issue Feb 18, 2017 · 0 comments
Labels

Comments

@dajonline
Copy link

dajonline commented Feb 18, 2017

[Enter steps to reproduce:]

  1. entered HTML
  2. Deleted a DIV

Atom: 1.14.3 ia32
Electron: 1.3.13
OS: Microsoft Windows 10 Pro
Thrown From: htmlhint package 1.1.4

Stack Trace

Uncaught 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'".

At C:\Users\Daniel\.atom\packages\htmlhint\node_modules\jquery\dist\jquery.js:328

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'".

    at Function.globalEval (/packages/htmlhint/node_modules/jquery/dist/jquery.js:328:5)
    at jQuery.domManip (/packages/htmlhint/node_modules/jquery/dist/jquery.js:5435:16)
    at jQuery.append (/packages/htmlhint/node_modules/jquery/dist/jquery.js:5218:15)
    at /packages/htmlhint/node_modules/jquery/dist/jquery.js:5333:18)
    at jQuery.access (/packages/htmlhint/node_modules/jquery/dist/jquery.js:3491:8)
    at jQuery.html (/packages/htmlhint/node_modules/jquery/dist/jquery.js:5300:10)
    at MessagePanelView.setSummary (/packages/htmlhint/node_modules/atom-message-panel/lib/MessagePanelView.js:138:18)
    at MessagePanelView.add (/packages/htmlhint/node_modules/atom-message-panel/lib/MessagePanelView.js:173:10)
    at module.exports (/packages/htmlhint/lib/linter.coffee:39:16)
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at /app.asar/node_modules/text-buffer/lib/text-buffer.js:1368:25

Commands

  6x -0:27.4.0 core:backspace (input.hidden-input)

Non-Core Packages

aligner 0.22.3 
aligner-css 1.2.0 
atom-format 1.0.8 
atom-typescript 10.1.14 
csslint 1.1.5 
htmlhint 1.1.4 
jsformat 0.9.3 
jshint 1.8.6 
linter 1.11.23 
linter-csslint 1.3.3 
linter-htmlhint 1.3.1 
linter-jshint 3.0.2 
linter-scss-lint 3.1.0 
node-debugger 1.10.0 
tool-bar 1.0.1 
tool-bar-main 0.0.10 
@tcarlsen tcarlsen added the bug label Feb 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants