{"action":"created","issue":{"url":"https://api.github.com/repos/OmniSharp/atom-json-schema/issues/10","labels_url":"https://api.github.com/repos/OmniSharp/atom-json-schema/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/OmniSharp/atom-json-schema/issues/10/comments","events_url":"https://api.github.com/repos/OmniSharp/atom-json-schema/issues/10/events","html_url":"https://github.com/OmniSharp/atom-json-schema/issues/10","id":104018281,"number":10,"title":"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'\".","user":{"login":"melcloud","id":14476,"avatar_url":"https://avatars.githubusercontent.com/u/14476?v=3","gravatar_id":"","url":"https://api.github.com/users/melcloud","html_url":"https://github.com/melcloud","followers_url":"https://api.github.com/users/melcloud/followers","following_url":"https://api.github.com/users/melcloud/following{/other_user}","gists_url":"https://api.github.com/users/melcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/melcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melcloud/subscriptions","organizations_url":"https://api.github.com/users/melcloud/orgs","repos_url":"https://api.github.com/users/melcloud/repos","events_url":"https://api.github.com/users/melcloud/events{/privacy}","received_events_url":"https://api.github.com/users/melcloud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-31T09:29:31Z","updated_at":"2015-09-30T18:55:02Z","closed_at":"2015-09-29T22:24:24Z","body":"Got following error when trying to edit .json file after upgrading to 0.1.13.\r\n\r\nEvalError: 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'\".\r\n    at Function (native)\r\n    at Function.line.toFunction (c:\\home\\.atom\\packages\\json-schema\\node_modules\\is-my-json-valid\\node_modules\\generate-function\\index.js:55:21)\r\n    at compile (c:\\home\\.atom\\packages\\json-schema\\node_modules\\is-my-json-valid\\index.js:543:23)\r\n    at visit (c:\\home\\.atom\\packages\\json-schema\\node_modules\\is-my-json-valid\\index.js:326:16)\r\n    at c:\\home\\.atom\\packages\\json-schema\\node_modules\\is-my-json-valid\\index.js:523:9\r\n    at Array.forEach (native)\r\n    at visit (c:\\home\\.atom\\packages\\json-schema\\node_modules\\is-my-json-valid\\index.js:520:31)\r\n    at compile (c:\\home\\.atom\\packages\\json-schema\\node_modules\\is-my-json-valid\\index.js:537:3)\r\n    at module.exports (c:\\home\\.atom\\packages\\json-schema\\node_modules\\is-my-json-valid\\index.js:564:10)\r\n    at c:\\home\\.atom\\packages\\json-schema\\lib\\schema-linter.js:45:12\r\n    at memoized (C:\\Users\\yzhang\\AppData\\Local\\atom\\app-1.0.9\\resources\\app.asar\\node_modules\\babel-core\\node_modules\\lodash\\index.js:7912:27)\r\n    at MapObservable.selector (c:\\home\\.atom\\packages\\json-schema\\lib\\schema-linter.js:56:49)\r\n    at c:\\home\\.atom\\packages\\json-schema\\node_modules\\rx\\dist\\rx.js:4785:67\r\n    at tryCatcher (c:\\home\\.atom\\packages\\json-schema\\node_modules\\rx\\dist\\rx.js:567:29)\r\n    at InnerObserver.onNext (c:\\home\\.atom\\packages\\json-schema\\node_modules\\rx\\dist\\rx.js:4806:43)\r\n    at InnerObserver.tryCatcher (c:\\home\\.atom\\packages\\json-schema\\node_modules\\rx\\dist\\rx.js:567:29)"},"comment":{"url":"https://api.github.com/repos/OmniSharp/atom-json-schema/issues/comments/144506368","html_url":"https://github.com/OmniSharp/atom-json-schema/issues/10#issuecomment-144506368","issue_url":"https://api.github.com/repos/OmniSharp/atom-json-schema/issues/10","id":144506368,"user":{"login":"atsu85","id":1206512,"avatar_url":"https://avatars.githubusercontent.com/u/1206512?v=3","gravatar_id":"","url":"https://api.github.com/users/atsu85","html_url":"https://github.com/atsu85","followers_url":"https://api.github.com/users/atsu85/followers","following_url":"https://api.github.com/users/atsu85/following{/other_user}","gists_url":"https://api.github.com/users/atsu85/gists{/gist_id}","starred_url":"https://api.github.com/users/atsu85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsu85/subscriptions","organizations_url":"https://api.github.com/users/atsu85/orgs","repos_url":"https://api.github.com/users/atsu85/repos","events_url":"https://api.github.com/users/atsu85/events{/privacy}","received_events_url":"https://api.github.com/users/atsu85/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T18:55:02Z","updated_at":"2015-09-30T18:55:02Z","body":"> But it seems to be fixed in the latest release\r\n\r\nAs i said, i tried version 0.1.13, that seems to be the latest version\r\n\r\n> once I delete the proxy setting from apm, everything works\r\n\r\nas far as i know, I wasn't using proxy :/\r\n"}}