{"action":"opened","number":93,"pull_request":{"url":"https://api.github.com/repos/emberjs/emberjs-build/pulls/93","id":32723740,"html_url":"https://github.com/emberjs/emberjs-build/pull/93","diff_url":"https://github.com/emberjs/emberjs-build/pull/93.diff","patch_url":"https://github.com/emberjs/emberjs-build/pull/93.patch","issue_url":"https://api.github.com/repos/emberjs/emberjs-build/issues/93","number":93,"state":"open","locked":false,"title":"Enable es6.blockScoping for Babel.","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"body":"Samples:\n\n```javascript\n// input:\n\nfor (var i = 0; i < 3; i++) {\n  let j = i * i;\n  console.log(j);\n}\nconsole.log(j); // will throw\n\n// output:\nfor (var i = 0; i < 3; i++) {\n  var _j = i * i;\n  console.log(_j);\n}\nconsole.log(j); // will throw\n```\n\n```javascript\n// input:\nfunction f() {\n  let j = data.length;\n  console.log(j, 'items');\n  for (let i = 0; i < j; ++i) {\n    let j = data[i] * data[i];\n    console.log(j); // squares\n  }\n}\n\n// output:\nfunction f() {\n  var j = data.length;\n  console.log(j, 'items');\n  for (var i = 0; i < j; ++i) {\n    var _j = data[i] * data[i];\n    console.log(_j); // squares\n  }\n}\n```","created_at":"2015-04-07T00:20:52Z","updated_at":"2015-04-07T00:20:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f8ff8ee55561cd1324ab67ce5d70d4b2d46520d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emberjs/emberjs-build/pulls/93/commits","review_comments_url":"https://api.github.com/repos/emberjs/emberjs-build/pulls/93/comments","review_comment_url":"https://api.github.com/repos/emberjs/emberjs-build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emberjs/emberjs-build/issues/93/comments","statuses_url":"https://api.github.com/repos/emberjs/emberjs-build/statuses/888c03809249f3145d02e1c170c6dd22334e7d9a","head":{"label":"rwjblue:enable-blockScoping","ref":"enable-blockScoping","sha":"888c03809249f3145d02e1c170c6dd22334e7d9a","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"repo":{"id":28166341,"name":"emberjs-build","full_name":"rwjblue/emberjs-build","owner":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwjblue/emberjs-build","description":"","fork":true,"url":"https://api.github.com/repos/rwjblue/emberjs-build","forks_url":"https://api.github.com/repos/rwjblue/emberjs-build/forks","keys_url":"https://api.github.com/repos/rwjblue/emberjs-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwjblue/emberjs-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwjblue/emberjs-build/teams","hooks_url":"https://api.github.com/repos/rwjblue/emberjs-build/hooks","issue_events_url":"https://api.github.com/repos/rwjblue/emberjs-build/issues/events{/number}","events_url":"https://api.github.com/repos/rwjblue/emberjs-build/events","assignees_url":"https://api.github.com/repos/rwjblue/emberjs-build/assignees{/user}","branches_url":"https://api.github.com/repos/rwjblue/emberjs-build/branches{/branch}","tags_url":"https://api.github.com/repos/rwjblue/emberjs-build/tags","blobs_url":"https://api.github.com/repos/rwjblue/emberjs-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwjblue/emberjs-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwjblue/emberjs-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwjblue/emberjs-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwjblue/emberjs-build/statuses/{sha}","languages_url":"https://api.github.com/repos/rwjblue/emberjs-build/languages","stargazers_url":"https://api.github.com/repos/rwjblue/emberjs-build/stargazers","contributors_url":"https://api.github.com/repos/rwjblue/emberjs-build/contributors","subscribers_url":"https://api.github.com/repos/rwjblue/emberjs-build/subscribers","subscription_url":"https://api.github.com/repos/rwjblue/emberjs-build/subscription","commits_url":"https://api.github.com/repos/rwjblue/emberjs-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwjblue/emberjs-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwjblue/emberjs-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwjblue/emberjs-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwjblue/emberjs-build/contents/{+path}","compare_url":"https://api.github.com/repos/rwjblue/emberjs-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwjblue/emberjs-build/merges","archive_url":"https://api.github.com/repos/rwjblue/emberjs-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwjblue/emberjs-build/downloads","issues_url":"https://api.github.com/repos/rwjblue/emberjs-build/issues{/number}","pulls_url":"https://api.github.com/repos/rwjblue/emberjs-build/pulls{/number}","milestones_url":"https://api.github.com/repos/rwjblue/emberjs-build/milestones{/number}","notifications_url":"https://api.github.com/repos/rwjblue/emberjs-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwjblue/emberjs-build/labels{/name}","releases_url":"https://api.github.com/repos/rwjblue/emberjs-build/releases{/id}","created_at":"2014-12-18T03:15:53Z","updated_at":"2014-12-18T03:15:53Z","pushed_at":"2015-04-07T00:20:40Z","git_url":"git://github.com/rwjblue/emberjs-build.git","ssh_url":"git@github.com:rwjblue/emberjs-build.git","clone_url":"https://github.com/rwjblue/emberjs-build.git","svn_url":"https://github.com/rwjblue/emberjs-build","homepage":null,"size":409,"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":"emberjs:master","ref":"master","sha":"a405e4040798e2598720e0e2d75dc394ff1fb34b","user":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"repo":{"id":27559766,"name":"emberjs-build","full_name":"emberjs/emberjs-build","owner":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emberjs/emberjs-build","description":"","fork":false,"url":"https://api.github.com/repos/emberjs/emberjs-build","forks_url":"https://api.github.com/repos/emberjs/emberjs-build/forks","keys_url":"https://api.github.com/repos/emberjs/emberjs-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emberjs/emberjs-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emberjs/emberjs-build/teams","hooks_url":"https://api.github.com/repos/emberjs/emberjs-build/hooks","issue_events_url":"https://api.github.com/repos/emberjs/emberjs-build/issues/events{/number}","events_url":"https://api.github.com/repos/emberjs/emberjs-build/events","assignees_url":"https://api.github.com/repos/emberjs/emberjs-build/assignees{/user}","branches_url":"https://api.github.com/repos/emberjs/emberjs-build/branches{/branch}","tags_url":"https://api.github.com/repos/emberjs/emberjs-build/tags","blobs_url":"https://api.github.com/repos/emberjs/emberjs-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emberjs/emberjs-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emberjs/emberjs-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/emberjs/emberjs-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emberjs/emberjs-build/statuses/{sha}","languages_url":"https://api.github.com/repos/emberjs/emberjs-build/languages","stargazers_url":"https://api.github.com/repos/emberjs/emberjs-build/stargazers","contributors_url":"https://api.github.com/repos/emberjs/emberjs-build/contributors","subscribers_url":"https://api.github.com/repos/emberjs/emberjs-build/subscribers","subscription_url":"https://api.github.com/repos/emberjs/emberjs-build/subscription","commits_url":"https://api.github.com/repos/emberjs/emberjs-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/emberjs/emberjs-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/emberjs/emberjs-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/emberjs/emberjs-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/emberjs/emberjs-build/contents/{+path}","compare_url":"https://api.github.com/repos/emberjs/emberjs-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emberjs/emberjs-build/merges","archive_url":"https://api.github.com/repos/emberjs/emberjs-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emberjs/emberjs-build/downloads","issues_url":"https://api.github.com/repos/emberjs/emberjs-build/issues{/number}","pulls_url":"https://api.github.com/repos/emberjs/emberjs-build/pulls{/number}","milestones_url":"https://api.github.com/repos/emberjs/emberjs-build/milestones{/number}","notifications_url":"https://api.github.com/repos/emberjs/emberjs-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emberjs/emberjs-build/labels{/name}","releases_url":"https://api.github.com/repos/emberjs/emberjs-build/releases{/id}","created_at":"2014-12-04T20:58:22Z","updated_at":"2015-04-03T02:23:47Z","pushed_at":"2015-04-07T00:20:52Z","git_url":"git://github.com/emberjs/emberjs-build.git","ssh_url":"git@github.com:emberjs/emberjs-build.git","clone_url":"https://github.com/emberjs/emberjs-build.git","svn_url":"https://github.com/emberjs/emberjs-build","homepage":null,"size":1762,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":8,"forks":14,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emberjs/emberjs-build/pulls/93"},"html":{"href":"https://github.com/emberjs/emberjs-build/pull/93"},"issue":{"href":"https://api.github.com/repos/emberjs/emberjs-build/issues/93"},"comments":{"href":"https://api.github.com/repos/emberjs/emberjs-build/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/emberjs/emberjs-build/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/emberjs/emberjs-build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emberjs/emberjs-build/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/emberjs/emberjs-build/statuses/888c03809249f3145d02e1c170c6dd22334e7d9a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}