{"action":"created","issue":{"url":"https://api.github.com/repos/doloopwhile/PyExecJS/issues/21","labels_url":"https://api.github.com/repos/doloopwhile/PyExecJS/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/doloopwhile/PyExecJS/issues/21/comments","events_url":"https://api.github.com/repos/doloopwhile/PyExecJS/issues/21/events","html_url":"https://github.com/doloopwhile/PyExecJS/pull/21","id":57769302,"number":21,"title":"allow user to specify location for generated temp js file","user":{"login":"brandonwoo","id":570943,"avatar_url":"https://avatars.githubusercontent.com/u/570943?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonwoo","html_url":"https://github.com/brandonwoo","followers_url":"https://api.github.com/users/brandonwoo/followers","following_url":"https://api.github.com/users/brandonwoo/following{/other_user}","gists_url":"https://api.github.com/users/brandonwoo/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonwoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonwoo/subscriptions","organizations_url":"https://api.github.com/users/brandonwoo/orgs","repos_url":"https://api.github.com/users/brandonwoo/repos","events_url":"https://api.github.com/users/brandonwoo/events{/privacy}","received_events_url":"https://api.github.com/users/brandonwoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-16T06:27:00Z","updated_at":"2015-02-17T02:19:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/doloopwhile/PyExecJS/pulls/21","html_url":"https://github.com/doloopwhile/PyExecJS/pull/21","diff_url":"https://github.com/doloopwhile/PyExecJS/pull/21.diff","patch_url":"https://github.com/doloopwhile/PyExecJS/pull/21.patch"},"body":"this helps with \"require\" statements for requiring dependencies in node.js projects."},"comment":{"url":"https://api.github.com/repos/doloopwhile/PyExecJS/issues/comments/74607456","html_url":"https://github.com/doloopwhile/PyExecJS/pull/21#issuecomment-74607456","issue_url":"https://api.github.com/repos/doloopwhile/PyExecJS/issues/21","id":74607456,"user":{"login":"doloopwhile","id":1269088,"avatar_url":"https://avatars.githubusercontent.com/u/1269088?v=3","gravatar_id":"","url":"https://api.github.com/users/doloopwhile","html_url":"https://github.com/doloopwhile","followers_url":"https://api.github.com/users/doloopwhile/followers","following_url":"https://api.github.com/users/doloopwhile/following{/other_user}","gists_url":"https://api.github.com/users/doloopwhile/gists{/gist_id}","starred_url":"https://api.github.com/users/doloopwhile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doloopwhile/subscriptions","organizations_url":"https://api.github.com/users/doloopwhile/orgs","repos_url":"https://api.github.com/users/doloopwhile/repos","events_url":"https://api.github.com/users/doloopwhile/events{/privacy}","received_events_url":"https://api.github.com/users/doloopwhile/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T02:19:49Z","updated_at":"2015-02-17T02:19:49Z","body":"I understand that you want to run a JS script with external libraries.\r\nI think your use case is not strange.\r\n\r\nHowever, I do not agree with your pull-request.\r\n\r\nIt is because that the `project_dir` is just for node.js. It is not helpful for other JS runtimes.\r\n\r\nModule global functions should not take runtime specific arguments.\r\nIf you need to specify a working directory, it should be specified in JS runtime object.\r\n\r\nSo, I will close this pull-request and register an issue."}}