{"action":"created","comment":{"url":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/comments/50976087","id":50976087,"diff_hunk":"@@ -0,0 +1,15 @@\n+var vm = require('vm');\n+\n+function _eval(content) {\n+    var sandbox = {};\n+    var exports = {};\n+\n+    sandbox.exports = exports;\n+    sandbox.module = { exports: exports };\n+    sandbox.global = sandbox;\n+\n+    var script = new vm.Script(content);\n+    return script.runInNewContext(sandbox);","path":"evalContent.js","position":12,"original_position":12,"commit_id":"494f83e60ecfdd08de74ed8f893fca0a72111392","original_commit_id":"8780dcaa64b62c82344e75f20f937b745ae3d47f","user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"body":"Кажется, что достаточно `vm.runInNewContext`\r\n\r\nТолько непонятно, что ты возвращаешь. Должен же sandbox.module.exports?","created_at":"2016-01-27T12:19:33Z","updated_at":"2016-01-27T12:19:33Z","html_url":"https://github.com/gulp-bem/gulp-bem/pull/3#discussion_r50976087","pull_request_url":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/comments/50976087"},"html":{"href":"https://github.com/gulp-bem/gulp-bem/pull/3#discussion_r50976087"},"pull_request":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3","id":57346935,"html_url":"https://github.com/gulp-bem/gulp-bem/pull/3","diff_url":"https://github.com/gulp-bem/gulp-bem/pull/3.diff","patch_url":"https://github.com/gulp-bem/gulp-bem/pull/3.patch","issue_url":"https://api.github.com/repos/gulp-bem/gulp-bem/issues/3","number":3,"state":"open","locked":false,"title":"Fix bem-decl reading","user":{"login":"Yeti-or","id":1813468,"avatar_url":"https://avatars.githubusercontent.com/u/1813468?v=3","gravatar_id":"","url":"https://api.github.com/users/Yeti-or","html_url":"https://github.com/Yeti-or","followers_url":"https://api.github.com/users/Yeti-or/followers","following_url":"https://api.github.com/users/Yeti-or/following{/other_user}","gists_url":"https://api.github.com/users/Yeti-or/gists{/gist_id}","starred_url":"https://api.github.com/users/Yeti-or/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yeti-or/subscriptions","organizations_url":"https://api.github.com/users/Yeti-or/orgs","repos_url":"https://api.github.com/users/Yeti-or/repos","events_url":"https://api.github.com/users/Yeti-or/events{/privacy}","received_events_url":"https://api.github.com/users/Yeti-or/received_events","type":"User","site_admin":false},"body":"@zxqfox @blond take a look","created_at":"2016-01-27T11:29:03Z","updated_at":"2016-01-27T12:19:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da80b48d5e05251827d26932b41beb08a6826938","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3/commits","review_comments_url":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3/comments","review_comment_url":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gulp-bem/gulp-bem/issues/3/comments","statuses_url":"https://api.github.com/repos/gulp-bem/gulp-bem/statuses/494f83e60ecfdd08de74ed8f893fca0a72111392","head":{"label":"Yeti-or:yeti","ref":"yeti","sha":"494f83e60ecfdd08de74ed8f893fca0a72111392","user":{"login":"Yeti-or","id":1813468,"avatar_url":"https://avatars.githubusercontent.com/u/1813468?v=3","gravatar_id":"","url":"https://api.github.com/users/Yeti-or","html_url":"https://github.com/Yeti-or","followers_url":"https://api.github.com/users/Yeti-or/followers","following_url":"https://api.github.com/users/Yeti-or/following{/other_user}","gists_url":"https://api.github.com/users/Yeti-or/gists{/gist_id}","starred_url":"https://api.github.com/users/Yeti-or/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yeti-or/subscriptions","organizations_url":"https://api.github.com/users/Yeti-or/orgs","repos_url":"https://api.github.com/users/Yeti-or/repos","events_url":"https://api.github.com/users/Yeti-or/events{/privacy}","received_events_url":"https://api.github.com/users/Yeti-or/received_events","type":"User","site_admin":false},"repo":{"id":50362677,"name":"gulp-bem","full_name":"Yeti-or/gulp-bem","owner":{"login":"Yeti-or","id":1813468,"avatar_url":"https://avatars.githubusercontent.com/u/1813468?v=3","gravatar_id":"","url":"https://api.github.com/users/Yeti-or","html_url":"https://github.com/Yeti-or","followers_url":"https://api.github.com/users/Yeti-or/followers","following_url":"https://api.github.com/users/Yeti-or/following{/other_user}","gists_url":"https://api.github.com/users/Yeti-or/gists{/gist_id}","starred_url":"https://api.github.com/users/Yeti-or/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yeti-or/subscriptions","organizations_url":"https://api.github.com/users/Yeti-or/orgs","repos_url":"https://api.github.com/users/Yeti-or/repos","events_url":"https://api.github.com/users/Yeti-or/events{/privacy}","received_events_url":"https://api.github.com/users/Yeti-or/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yeti-or/gulp-bem","description":"","fork":true,"url":"https://api.github.com/repos/Yeti-or/gulp-bem","forks_url":"https://api.github.com/repos/Yeti-or/gulp-bem/forks","keys_url":"https://api.github.com/repos/Yeti-or/gulp-bem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yeti-or/gulp-bem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yeti-or/gulp-bem/teams","hooks_url":"https://api.github.com/repos/Yeti-or/gulp-bem/hooks","issue_events_url":"https://api.github.com/repos/Yeti-or/gulp-bem/issues/events{/number}","events_url":"https://api.github.com/repos/Yeti-or/gulp-bem/events","assignees_url":"https://api.github.com/repos/Yeti-or/gulp-bem/assignees{/user}","branches_url":"https://api.github.com/repos/Yeti-or/gulp-bem/branches{/branch}","tags_url":"https://api.github.com/repos/Yeti-or/gulp-bem/tags","blobs_url":"https://api.github.com/repos/Yeti-or/gulp-bem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yeti-or/gulp-bem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yeti-or/gulp-bem/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yeti-or/gulp-bem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yeti-or/gulp-bem/statuses/{sha}","languages_url":"https://api.github.com/repos/Yeti-or/gulp-bem/languages","stargazers_url":"https://api.github.com/repos/Yeti-or/gulp-bem/stargazers","contributors_url":"https://api.github.com/repos/Yeti-or/gulp-bem/contributors","subscribers_url":"https://api.github.com/repos/Yeti-or/gulp-bem/subscribers","subscription_url":"https://api.github.com/repos/Yeti-or/gulp-bem/subscription","commits_url":"https://api.github.com/repos/Yeti-or/gulp-bem/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yeti-or/gulp-bem/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yeti-or/gulp-bem/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yeti-or/gulp-bem/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yeti-or/gulp-bem/contents/{+path}","compare_url":"https://api.github.com/repos/Yeti-or/gulp-bem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yeti-or/gulp-bem/merges","archive_url":"https://api.github.com/repos/Yeti-or/gulp-bem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yeti-or/gulp-bem/downloads","issues_url":"https://api.github.com/repos/Yeti-or/gulp-bem/issues{/number}","pulls_url":"https://api.github.com/repos/Yeti-or/gulp-bem/pulls{/number}","milestones_url":"https://api.github.com/repos/Yeti-or/gulp-bem/milestones{/number}","notifications_url":"https://api.github.com/repos/Yeti-or/gulp-bem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yeti-or/gulp-bem/labels{/name}","releases_url":"https://api.github.com/repos/Yeti-or/gulp-bem/releases{/id}","deployments_url":"https://api.github.com/repos/Yeti-or/gulp-bem/deployments","created_at":"2016-01-25T16:07:30Z","updated_at":"2016-01-25T16:07:31Z","pushed_at":"2016-01-27T11:44:25Z","git_url":"git://github.com/Yeti-or/gulp-bem.git","ssh_url":"git@github.com:Yeti-or/gulp-bem.git","clone_url":"https://github.com/Yeti-or/gulp-bem.git","svn_url":"https://github.com/Yeti-or/gulp-bem","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gulp-bem:master","ref":"master","sha":"8afcd74008a9680c2e232e08a8dc416bf1aec84b","user":{"login":"gulp-bem","id":16268976,"avatar_url":"https://avatars.githubusercontent.com/u/16268976?v=3","gravatar_id":"","url":"https://api.github.com/users/gulp-bem","html_url":"https://github.com/gulp-bem","followers_url":"https://api.github.com/users/gulp-bem/followers","following_url":"https://api.github.com/users/gulp-bem/following{/other_user}","gists_url":"https://api.github.com/users/gulp-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/gulp-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gulp-bem/subscriptions","organizations_url":"https://api.github.com/users/gulp-bem/orgs","repos_url":"https://api.github.com/users/gulp-bem/repos","events_url":"https://api.github.com/users/gulp-bem/events{/privacy}","received_events_url":"https://api.github.com/users/gulp-bem/received_events","type":"Organization","site_admin":false},"repo":{"id":47885960,"name":"gulp-bem","full_name":"gulp-bem/gulp-bem","owner":{"login":"gulp-bem","id":16268976,"avatar_url":"https://avatars.githubusercontent.com/u/16268976?v=3","gravatar_id":"","url":"https://api.github.com/users/gulp-bem","html_url":"https://github.com/gulp-bem","followers_url":"https://api.github.com/users/gulp-bem/followers","following_url":"https://api.github.com/users/gulp-bem/following{/other_user}","gists_url":"https://api.github.com/users/gulp-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/gulp-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gulp-bem/subscriptions","organizations_url":"https://api.github.com/users/gulp-bem/orgs","repos_url":"https://api.github.com/users/gulp-bem/repos","events_url":"https://api.github.com/users/gulp-bem/events{/privacy}","received_events_url":"https://api.github.com/users/gulp-bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gulp-bem/gulp-bem","description":"","fork":false,"url":"https://api.github.com/repos/gulp-bem/gulp-bem","forks_url":"https://api.github.com/repos/gulp-bem/gulp-bem/forks","keys_url":"https://api.github.com/repos/gulp-bem/gulp-bem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gulp-bem/gulp-bem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gulp-bem/gulp-bem/teams","hooks_url":"https://api.github.com/repos/gulp-bem/gulp-bem/hooks","issue_events_url":"https://api.github.com/repos/gulp-bem/gulp-bem/issues/events{/number}","events_url":"https://api.github.com/repos/gulp-bem/gulp-bem/events","assignees_url":"https://api.github.com/repos/gulp-bem/gulp-bem/assignees{/user}","branches_url":"https://api.github.com/repos/gulp-bem/gulp-bem/branches{/branch}","tags_url":"https://api.github.com/repos/gulp-bem/gulp-bem/tags","blobs_url":"https://api.github.com/repos/gulp-bem/gulp-bem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gulp-bem/gulp-bem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gulp-bem/gulp-bem/git/refs{/sha}","trees_url":"https://api.github.com/repos/gulp-bem/gulp-bem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gulp-bem/gulp-bem/statuses/{sha}","languages_url":"https://api.github.com/repos/gulp-bem/gulp-bem/languages","stargazers_url":"https://api.github.com/repos/gulp-bem/gulp-bem/stargazers","contributors_url":"https://api.github.com/repos/gulp-bem/gulp-bem/contributors","subscribers_url":"https://api.github.com/repos/gulp-bem/gulp-bem/subscribers","subscription_url":"https://api.github.com/repos/gulp-bem/gulp-bem/subscription","commits_url":"https://api.github.com/repos/gulp-bem/gulp-bem/commits{/sha}","git_commits_url":"https://api.github.com/repos/gulp-bem/gulp-bem/git/commits{/sha}","comments_url":"https://api.github.com/repos/gulp-bem/gulp-bem/comments{/number}","issue_comment_url":"https://api.github.com/repos/gulp-bem/gulp-bem/issues/comments{/number}","contents_url":"https://api.github.com/repos/gulp-bem/gulp-bem/contents/{+path}","compare_url":"https://api.github.com/repos/gulp-bem/gulp-bem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gulp-bem/gulp-bem/merges","archive_url":"https://api.github.com/repos/gulp-bem/gulp-bem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gulp-bem/gulp-bem/downloads","issues_url":"https://api.github.com/repos/gulp-bem/gulp-bem/issues{/number}","pulls_url":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls{/number}","milestones_url":"https://api.github.com/repos/gulp-bem/gulp-bem/milestones{/number}","notifications_url":"https://api.github.com/repos/gulp-bem/gulp-bem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gulp-bem/gulp-bem/labels{/name}","releases_url":"https://api.github.com/repos/gulp-bem/gulp-bem/releases{/id}","deployments_url":"https://api.github.com/repos/gulp-bem/gulp-bem/deployments","created_at":"2015-12-12T16:44:07Z","updated_at":"2016-01-27T11:33:53Z","pushed_at":"2016-01-27T11:44:27Z","git_url":"git://github.com/gulp-bem/gulp-bem.git","ssh_url":"git@github.com:gulp-bem/gulp-bem.git","clone_url":"https://github.com/gulp-bem/gulp-bem.git","svn_url":"https://github.com/gulp-bem/gulp-bem","homepage":null,"size":7,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3"},"html":{"href":"https://github.com/gulp-bem/gulp-bem/pull/3"},"issue":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/issues/3"},"comments":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/gulp-bem/gulp-bem/statuses/494f83e60ecfdd08de74ed8f893fca0a72111392"}}}}