{"action":"created","issue":{"url":"https://api.github.com/repos/pusher/pusher-js/issues/169","repository_url":"https://api.github.com/repos/pusher/pusher-js","labels_url":"https://api.github.com/repos/pusher/pusher-js/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/pusher/pusher-js/issues/169/comments","events_url":"https://api.github.com/repos/pusher/pusher-js/issues/169/events","html_url":"https://github.com/pusher/pusher-js/issues/169","id":154920948,"number":169,"title":"Pusher client library does not play nice with CSP unsafe-eval setting","user":{"login":"chrisnicola","id":156449,"avatar_url":"https://avatars.githubusercontent.com/u/156449?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisnicola","html_url":"https://github.com/chrisnicola","followers_url":"https://api.github.com/users/chrisnicola/followers","following_url":"https://api.github.com/users/chrisnicola/following{/other_user}","gists_url":"https://api.github.com/users/chrisnicola/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisnicola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisnicola/subscriptions","organizations_url":"https://api.github.com/users/chrisnicola/orgs","repos_url":"https://api.github.com/users/chrisnicola/repos","events_url":"https://api.github.com/users/chrisnicola/events{/privacy}","received_events_url":"https://api.github.com/users/chrisnicola/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-15T17:54:51Z","updated_at":"2016-05-15T18:38:57Z","closed_at":"2016-05-15T18:38:57Z","body":"I'm getting a CSP security error at this code:\r\n\r\n`var r = Function(\"return this\")();`\r\n\r\nWhich seems to be used throughout pusher-js.\r\nhttps://github.com/pusher/pusher-js/search?utf8=%E2%9C%93&q=Function%28%22return+this%22%29+in%3Afile+&type=Code"},"comment":{"url":"https://api.github.com/repos/pusher/pusher-js/issues/comments/219302779","html_url":"https://github.com/pusher/pusher-js/issues/169#issuecomment-219302779","issue_url":"https://api.github.com/repos/pusher/pusher-js/issues/169","id":219302779,"user":{"login":"zimbatm","id":3248,"avatar_url":"https://avatars.githubusercontent.com/u/3248?v=3","gravatar_id":"","url":"https://api.github.com/users/zimbatm","html_url":"https://github.com/zimbatm","followers_url":"https://api.github.com/users/zimbatm/followers","following_url":"https://api.github.com/users/zimbatm/following{/other_user}","gists_url":"https://api.github.com/users/zimbatm/gists{/gist_id}","starred_url":"https://api.github.com/users/zimbatm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimbatm/subscriptions","organizations_url":"https://api.github.com/users/zimbatm/orgs","repos_url":"https://api.github.com/users/zimbatm/repos","events_url":"https://api.github.com/users/zimbatm/events{/privacy}","received_events_url":"https://api.github.com/users/zimbatm/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T18:38:57Z","updated_at":"2016-05-15T18:38:57Z","body":"Closing as it's a duplicate of #168"}}