{"action":"created","issue":{"url":"https://api.github.com/repos/pretenderjs/pretender/issues/179","repository_url":"https://api.github.com/repos/pretenderjs/pretender","labels_url":"https://api.github.com/repos/pretenderjs/pretender/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/pretenderjs/pretender/issues/179/comments","events_url":"https://api.github.com/repos/pretenderjs/pretender/issues/179/events","html_url":"https://github.com/pretenderjs/pretender/issues/179","id":181461188,"number":179,"title":"Can't start because self is not defined","user":{"login":"DVLP","id":5261364,"avatar_url":"https://avatars.githubusercontent.com/u/5261364?v=3","gravatar_id":"","url":"https://api.github.com/users/DVLP","html_url":"https://github.com/DVLP","followers_url":"https://api.github.com/users/DVLP/followers","following_url":"https://api.github.com/users/DVLP/following{/other_user}","gists_url":"https://api.github.com/users/DVLP/gists{/gist_id}","starred_url":"https://api.github.com/users/DVLP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVLP/subscriptions","organizations_url":"https://api.github.com/users/DVLP/orgs","repos_url":"https://api.github.com/users/DVLP/repos","events_url":"https://api.github.com/users/DVLP/events{/privacy}","received_events_url":"https://api.github.com/users/DVLP/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"DVLP","id":5261364,"avatar_url":"https://avatars.githubusercontent.com/u/5261364?v=3","gravatar_id":"","url":"https://api.github.com/users/DVLP","html_url":"https://github.com/DVLP","followers_url":"https://api.github.com/users/DVLP/followers","following_url":"https://api.github.com/users/DVLP/following{/other_user}","gists_url":"https://api.github.com/users/DVLP/gists{/gist_id}","starred_url":"https://api.github.com/users/DVLP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVLP/subscriptions","organizations_url":"https://api.github.com/users/DVLP/orgs","repos_url":"https://api.github.com/users/DVLP/repos","events_url":"https://api.github.com/users/DVLP/events{/privacy}","received_events_url":"https://api.github.com/users/DVLP/received_events","type":"User","site_admin":false},"assignees":[{"login":"DVLP","id":5261364,"avatar_url":"https://avatars.githubusercontent.com/u/5261364?v=3","gravatar_id":"","url":"https://api.github.com/users/DVLP","html_url":"https://github.com/DVLP","followers_url":"https://api.github.com/users/DVLP/followers","following_url":"https://api.github.com/users/DVLP/following{/other_user}","gists_url":"https://api.github.com/users/DVLP/gists{/gist_id}","starred_url":"https://api.github.com/users/DVLP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVLP/subscriptions","organizations_url":"https://api.github.com/users/DVLP/orgs","repos_url":"https://api.github.com/users/DVLP/repos","events_url":"https://api.github.com/users/DVLP/events{/privacy}","received_events_url":"https://api.github.com/users/DVLP/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-10-06T16:17:37Z","updated_at":"2016-11-23T22:48:10Z","closed_at":"2016-11-23T22:48:10Z","body":"Trying with babel-node and with regular node too.\n`import Pretender from 'pretender';`\nsame result as\n`require('pretender');`\n\n```\n\\node_modules\\pretender\\pretender.js:433\n}(self));\n  ^\n\nReferenceError: self is not defined\n    at Object.<anonymous> (\\node_modules\\pretender\\pretender.js:433:3)\n    at Module._compile (module.js:541:32)\n    at Module._extensions..js (module.js:550:10)\n    at Object.require.extensions.(anonymous function) [as .js] (\\node_modules\\babel-register\\lib\\node.js:156:7)\n    at Module.load (module.js:458:32)\n    at tryModuleLoad (module.js:417:12)\n    at Function.Module._load (module.js:409:3)\n    at Module.require (module.js:468:17)\n    at require (internal/module.js:20:19)\n    at Object.<anonymous> (mockServer.js:1:1)\n```\n"},"comment":{"url":"https://api.github.com/repos/pretenderjs/pretender/issues/comments/262648778","html_url":"https://github.com/pretenderjs/pretender/issues/179#issuecomment-262648778","issue_url":"https://api.github.com/repos/pretenderjs/pretender/issues/179","id":262648778,"user":{"login":"trek","id":9736,"avatar_url":"https://avatars.githubusercontent.com/u/9736?v=3","gravatar_id":"","url":"https://api.github.com/users/trek","html_url":"https://github.com/trek","followers_url":"https://api.github.com/users/trek/followers","following_url":"https://api.github.com/users/trek/following{/other_user}","gists_url":"https://api.github.com/users/trek/gists{/gist_id}","starred_url":"https://api.github.com/users/trek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trek/subscriptions","organizations_url":"https://api.github.com/users/trek/orgs","repos_url":"https://api.github.com/users/trek/repos","events_url":"https://api.github.com/users/trek/events{/privacy}","received_events_url":"https://api.github.com/users/trek/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T22:48:10Z","updated_at":"2016-11-23T22:48:10Z","body":"Closing until we get some more info."}}
{"actor":{"display_login":"trek"}}