{"action":"closed","number":167,"pull_request":{"url":"https://api.github.com/repos/enb/enb-bemxjst/pulls/167","id":67166013,"html_url":"https://github.com/enb/enb-bemxjst/pull/167","diff_url":"https://github.com/enb/enb-bemxjst/pull/167.diff","patch_url":"https://github.com/enb/enb-bemxjst/pull/167.patch","issue_url":"https://api.github.com/repos/enb/enb-bemxjst/issues/167","number":167,"state":"closed","locked":false,"title":"use this if global is undefined","user":{"login":"sbmaxx","id":381830,"avatar_url":"https://avatars.githubusercontent.com/u/381830?v=3","gravatar_id":"","url":"https://api.github.com/users/sbmaxx","html_url":"https://github.com/sbmaxx","followers_url":"https://api.github.com/users/sbmaxx/followers","following_url":"https://api.github.com/users/sbmaxx/following{/other_user}","gists_url":"https://api.github.com/users/sbmaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sbmaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbmaxx/subscriptions","organizations_url":"https://api.github.com/users/sbmaxx/orgs","repos_url":"https://api.github.com/users/sbmaxx/repos","events_url":"https://api.github.com/users/sbmaxx/events{/privacy}","received_events_url":"https://api.github.com/users/sbmaxx/received_events","type":"User","site_admin":false},"body":"In case of V8 embed environment (example: Perl:V8 package) global object can be undefined.","created_at":"2016-04-20T10:51:49Z","updated_at":"2016-04-20T14:29:16Z","closed_at":"2016-04-20T14:29:16Z","merged_at":"2016-04-20T14:29:16Z","merge_commit_sha":"5efb356fa2713b83ea5ed48fd91e71e8e915a24b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enb/enb-bemxjst/pulls/167/commits","review_comments_url":"https://api.github.com/repos/enb/enb-bemxjst/pulls/167/comments","review_comment_url":"https://api.github.com/repos/enb/enb-bemxjst/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enb/enb-bemxjst/issues/167/comments","statuses_url":"https://api.github.com/repos/enb/enb-bemxjst/statuses/09e57821f34bdd0f9e8e0789fc43165d806a9965","head":{"label":"sbmaxx:fixGlobalObject","ref":"fixGlobalObject","sha":"09e57821f34bdd0f9e8e0789fc43165d806a9965","user":{"login":"sbmaxx","id":381830,"avatar_url":"https://avatars.githubusercontent.com/u/381830?v=3","gravatar_id":"","url":"https://api.github.com/users/sbmaxx","html_url":"https://github.com/sbmaxx","followers_url":"https://api.github.com/users/sbmaxx/followers","following_url":"https://api.github.com/users/sbmaxx/following{/other_user}","gists_url":"https://api.github.com/users/sbmaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sbmaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbmaxx/subscriptions","organizations_url":"https://api.github.com/users/sbmaxx/orgs","repos_url":"https://api.github.com/users/sbmaxx/repos","events_url":"https://api.github.com/users/sbmaxx/events{/privacy}","received_events_url":"https://api.github.com/users/sbmaxx/received_events","type":"User","site_admin":false},"repo":{"id":45393612,"name":"enb-bemxjst","full_name":"sbmaxx/enb-bemxjst","owner":{"login":"sbmaxx","id":381830,"avatar_url":"https://avatars.githubusercontent.com/u/381830?v=3","gravatar_id":"","url":"https://api.github.com/users/sbmaxx","html_url":"https://github.com/sbmaxx","followers_url":"https://api.github.com/users/sbmaxx/followers","following_url":"https://api.github.com/users/sbmaxx/following{/other_user}","gists_url":"https://api.github.com/users/sbmaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sbmaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbmaxx/subscriptions","organizations_url":"https://api.github.com/users/sbmaxx/orgs","repos_url":"https://api.github.com/users/sbmaxx/repos","events_url":"https://api.github.com/users/sbmaxx/events{/privacy}","received_events_url":"https://api.github.com/users/sbmaxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbmaxx/enb-bemxjst","description":"BEM-XJST support for ENB","fork":true,"url":"https://api.github.com/repos/sbmaxx/enb-bemxjst","forks_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/forks","keys_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/teams","hooks_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/hooks","issue_events_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/issues/events{/number}","events_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/events","assignees_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/assignees{/user}","branches_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/branches{/branch}","tags_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/tags","blobs_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/statuses/{sha}","languages_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/languages","stargazers_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/stargazers","contributors_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/contributors","subscribers_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/subscribers","subscription_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/subscription","commits_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/contents/{+path}","compare_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/merges","archive_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/downloads","issues_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/issues{/number}","pulls_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/pulls{/number}","milestones_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/milestones{/number}","notifications_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/labels{/name}","releases_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/releases{/id}","deployments_url":"https://api.github.com/repos/sbmaxx/enb-bemxjst/deployments","created_at":"2015-11-02T12:39:54Z","updated_at":"2016-03-21T08:14:04Z","pushed_at":"2016-04-20T14:17:48Z","git_url":"git://github.com/sbmaxx/enb-bemxjst.git","ssh_url":"git@github.com:sbmaxx/enb-bemxjst.git","clone_url":"https://github.com/sbmaxx/enb-bemxjst.git","svn_url":"https://github.com/sbmaxx/enb-bemxjst","homepage":"","size":422,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"enb:master","ref":"master","sha":"a24b5779720494c9a43208b147d35e7d91520573","user":{"login":"enb","id":14005055,"avatar_url":"https://avatars.githubusercontent.com/u/14005055?v=3","gravatar_id":"","url":"https://api.github.com/users/enb","html_url":"https://github.com/enb","followers_url":"https://api.github.com/users/enb/followers","following_url":"https://api.github.com/users/enb/following{/other_user}","gists_url":"https://api.github.com/users/enb/gists{/gist_id}","starred_url":"https://api.github.com/users/enb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb/subscriptions","organizations_url":"https://api.github.com/users/enb/orgs","repos_url":"https://api.github.com/users/enb/repos","events_url":"https://api.github.com/users/enb/events{/privacy}","received_events_url":"https://api.github.com/users/enb/received_events","type":"Organization","site_admin":false},"repo":{"id":11192410,"name":"enb-bemxjst","full_name":"enb/enb-bemxjst","owner":{"login":"enb","id":14005055,"avatar_url":"https://avatars.githubusercontent.com/u/14005055?v=3","gravatar_id":"","url":"https://api.github.com/users/enb","html_url":"https://github.com/enb","followers_url":"https://api.github.com/users/enb/followers","following_url":"https://api.github.com/users/enb/following{/other_user}","gists_url":"https://api.github.com/users/enb/gists{/gist_id}","starred_url":"https://api.github.com/users/enb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb/subscriptions","organizations_url":"https://api.github.com/users/enb/orgs","repos_url":"https://api.github.com/users/enb/repos","events_url":"https://api.github.com/users/enb/events{/privacy}","received_events_url":"https://api.github.com/users/enb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb/enb-bemxjst","description":"BEM-XJST support for ENB","fork":false,"url":"https://api.github.com/repos/enb/enb-bemxjst","forks_url":"https://api.github.com/repos/enb/enb-bemxjst/forks","keys_url":"https://api.github.com/repos/enb/enb-bemxjst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb/enb-bemxjst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb/enb-bemxjst/teams","hooks_url":"https://api.github.com/repos/enb/enb-bemxjst/hooks","issue_events_url":"https://api.github.com/repos/enb/enb-bemxjst/issues/events{/number}","events_url":"https://api.github.com/repos/enb/enb-bemxjst/events","assignees_url":"https://api.github.com/repos/enb/enb-bemxjst/assignees{/user}","branches_url":"https://api.github.com/repos/enb/enb-bemxjst/branches{/branch}","tags_url":"https://api.github.com/repos/enb/enb-bemxjst/tags","blobs_url":"https://api.github.com/repos/enb/enb-bemxjst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb/enb-bemxjst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb/enb-bemxjst/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb/enb-bemxjst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb/enb-bemxjst/statuses/{sha}","languages_url":"https://api.github.com/repos/enb/enb-bemxjst/languages","stargazers_url":"https://api.github.com/repos/enb/enb-bemxjst/stargazers","contributors_url":"https://api.github.com/repos/enb/enb-bemxjst/contributors","subscribers_url":"https://api.github.com/repos/enb/enb-bemxjst/subscribers","subscription_url":"https://api.github.com/repos/enb/enb-bemxjst/subscription","commits_url":"https://api.github.com/repos/enb/enb-bemxjst/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb/enb-bemxjst/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb/enb-bemxjst/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb/enb-bemxjst/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb/enb-bemxjst/contents/{+path}","compare_url":"https://api.github.com/repos/enb/enb-bemxjst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb/enb-bemxjst/merges","archive_url":"https://api.github.com/repos/enb/enb-bemxjst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb/enb-bemxjst/downloads","issues_url":"https://api.github.com/repos/enb/enb-bemxjst/issues{/number}","pulls_url":"https://api.github.com/repos/enb/enb-bemxjst/pulls{/number}","milestones_url":"https://api.github.com/repos/enb/enb-bemxjst/milestones{/number}","notifications_url":"https://api.github.com/repos/enb/enb-bemxjst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb/enb-bemxjst/labels{/name}","releases_url":"https://api.github.com/repos/enb/enb-bemxjst/releases{/id}","deployments_url":"https://api.github.com/repos/enb/enb-bemxjst/deployments","created_at":"2013-07-05T05:38:57Z","updated_at":"2016-04-08T11:45:27Z","pushed_at":"2016-04-20T14:29:16Z","git_url":"git://github.com/enb/enb-bemxjst.git","ssh_url":"git@github.com:enb/enb-bemxjst.git","clone_url":"https://github.com/enb/enb-bemxjst.git","svn_url":"https://github.com/enb/enb-bemxjst","homepage":"","size":450,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":7,"forks":12,"open_issues":7,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enb/enb-bemxjst/pulls/167"},"html":{"href":"https://github.com/enb/enb-bemxjst/pull/167"},"issue":{"href":"https://api.github.com/repos/enb/enb-bemxjst/issues/167"},"comments":{"href":"https://api.github.com/repos/enb/enb-bemxjst/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/enb/enb-bemxjst/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/enb/enb-bemxjst/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enb/enb-bemxjst/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/enb/enb-bemxjst/statuses/09e57821f34bdd0f9e8e0789fc43165d806a9965"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"blond","id":2225579,"avatar_url":"https://avatars.githubusercontent.com/u/2225579?v=3","gravatar_id":"","url":"https://api.github.com/users/blond","html_url":"https://github.com/blond","followers_url":"https://api.github.com/users/blond/followers","following_url":"https://api.github.com/users/blond/following{/other_user}","gists_url":"https://api.github.com/users/blond/gists{/gist_id}","starred_url":"https://api.github.com/users/blond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blond/subscriptions","organizations_url":"https://api.github.com/users/blond/orgs","repos_url":"https://api.github.com/users/blond/repos","events_url":"https://api.github.com/users/blond/events{/privacy}","received_events_url":"https://api.github.com/users/blond/received_events","type":"User","site_admin":false},"comments":1,"review_comments":5,"commits":1,"additions":1,"deletions":1,"changed_files":1}}