Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

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

Open
itsmatthu opened this issue Jun 29, 2015 · 0 comments

Comments

@itsmatthu
Copy link

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: git-log package, v0.4.1

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 /Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/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 eval (native)
    at Function.jQuery.extend.globalEval (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:328:5)
    at jQuery.fn.extend.domManip (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:5435:16)
    at jQuery.fn.extend.append (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:5218:15)
    at GitLogView.fill_content (/Users/shuaihu/.atom/packages/git-log/lib/git-log-view.js:152:25)
    at GitLogView.log_callback (/Users/shuaihu/.atom/packages/git-log/lib/git-log-view.js:73:10)
    at /Users/shuaihu/.atom/packages/git-log/lib/git-log-view.js:50:18
    at triggerExitCallback (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
    at /Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
    at Socket.<anonymous> (/Users/shuaihu/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)

Commands

     -0:10.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:07.4.0 git-log:show (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "seti-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
git-log, v0.4.1
pigments, v0.8.1
seti-ui, v0.7.1

# Dev
No dev packages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant