{"action":"opened","number":8848,"pull_request":{"url":"https://api.github.com/repos/vuejs/vue/pulls/8848","id":218334386,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MzM0Mzg2","html_url":"https://github.com/vuejs/vue/pull/8848","diff_url":"https://github.com/vuejs/vue/pull/8848.diff","patch_url":"https://github.com/vuejs/vue/pull/8848.patch","issue_url":"https://api.github.com/repos/vuejs/vue/issues/8848","number":8848,"state":"open","locked":false,"title":"Remove redundant ternary","user":{"login":"imanhodjaev","id":354868,"node_id":"MDQ6VXNlcjM1NDg2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/354868?v=4","gravatar_id":"","url":"https://api.github.com/users/imanhodjaev","html_url":"https://github.com/imanhodjaev","followers_url":"https://api.github.com/users/imanhodjaev/followers","following_url":"https://api.github.com/users/imanhodjaev/following{/other_user}","gists_url":"https://api.github.com/users/imanhodjaev/gists{/gist_id}","starred_url":"https://api.github.com/users/imanhodjaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanhodjaev/subscriptions","organizations_url":"https://api.github.com/users/imanhodjaev/orgs","repos_url":"https://api.github.com/users/imanhodjaev/repos","events_url":"https://api.github.com/users/imanhodjaev/events{/privacy}","received_events_url":"https://api.github.com/users/imanhodjaev/received_events","type":"User","site_admin":false},"body":"**What kind of change does this PR introduce?**\r\n\r\n- [ ] Bugfix\r\n- [ ] Feature\r\n- [ ] Code style update\r\n- [x] Refactor\r\n- [ ] Build-related changes\r\n- [ ] Other, please describe:\r\n\r\nRemoved unnecessary ternary operation.\r\n\r\n**Does this PR introduce a breaking change?**\r\n\r\n- [ ] Yes\r\n- [x] No","created_at":"2018-09-26T14:18:07Z","updated_at":"2018-09-26T14:18:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vuejs/vue/pulls/8848/commits","review_comments_url":"https://api.github.com/repos/vuejs/vue/pulls/8848/comments","review_comment_url":"https://api.github.com/repos/vuejs/vue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/8848/comments","statuses_url":"https://api.github.com/repos/vuejs/vue/statuses/c4be1ee768534cb6013c3d18a1dfe2bc83f26e64","head":{"label":"imanhodjaev:refactor/remove-redundant-ternary","ref":"refactor/remove-redundant-ternary","sha":"c4be1ee768534cb6013c3d18a1dfe2bc83f26e64","user":{"login":"imanhodjaev","id":354868,"node_id":"MDQ6VXNlcjM1NDg2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/354868?v=4","gravatar_id":"","url":"https://api.github.com/users/imanhodjaev","html_url":"https://github.com/imanhodjaev","followers_url":"https://api.github.com/users/imanhodjaev/followers","following_url":"https://api.github.com/users/imanhodjaev/following{/other_user}","gists_url":"https://api.github.com/users/imanhodjaev/gists{/gist_id}","starred_url":"https://api.github.com/users/imanhodjaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanhodjaev/subscriptions","organizations_url":"https://api.github.com/users/imanhodjaev/orgs","repos_url":"https://api.github.com/users/imanhodjaev/repos","events_url":"https://api.github.com/users/imanhodjaev/events{/privacy}","received_events_url":"https://api.github.com/users/imanhodjaev/received_events","type":"User","site_admin":false},"repo":{"id":150429317,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0MjkzMTc=","name":"vue","full_name":"imanhodjaev/vue","private":false,"owner":{"login":"imanhodjaev","id":354868,"node_id":"MDQ6VXNlcjM1NDg2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/354868?v=4","gravatar_id":"","url":"https://api.github.com/users/imanhodjaev","html_url":"https://github.com/imanhodjaev","followers_url":"https://api.github.com/users/imanhodjaev/followers","following_url":"https://api.github.com/users/imanhodjaev/following{/other_user}","gists_url":"https://api.github.com/users/imanhodjaev/gists{/gist_id}","starred_url":"https://api.github.com/users/imanhodjaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanhodjaev/subscriptions","organizations_url":"https://api.github.com/users/imanhodjaev/orgs","repos_url":"https://api.github.com/users/imanhodjaev/repos","events_url":"https://api.github.com/users/imanhodjaev/events{/privacy}","received_events_url":"https://api.github.com/users/imanhodjaev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/imanhodjaev/vue","description":"🖖 A progressive, incrementally-adoptable JavaScript framework for building UI on the web.","fork":true,"url":"https://api.github.com/repos/imanhodjaev/vue","forks_url":"https://api.github.com/repos/imanhodjaev/vue/forks","keys_url":"https://api.github.com/repos/imanhodjaev/vue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imanhodjaev/vue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imanhodjaev/vue/teams","hooks_url":"https://api.github.com/repos/imanhodjaev/vue/hooks","issue_events_url":"https://api.github.com/repos/imanhodjaev/vue/issues/events{/number}","events_url":"https://api.github.com/repos/imanhodjaev/vue/events","assignees_url":"https://api.github.com/repos/imanhodjaev/vue/assignees{/user}","branches_url":"https://api.github.com/repos/imanhodjaev/vue/branches{/branch}","tags_url":"https://api.github.com/repos/imanhodjaev/vue/tags","blobs_url":"https://api.github.com/repos/imanhodjaev/vue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imanhodjaev/vue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imanhodjaev/vue/git/refs{/sha}","trees_url":"https://api.github.com/repos/imanhodjaev/vue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imanhodjaev/vue/statuses/{sha}","languages_url":"https://api.github.com/repos/imanhodjaev/vue/languages","stargazers_url":"https://api.github.com/repos/imanhodjaev/vue/stargazers","contributors_url":"https://api.github.com/repos/imanhodjaev/vue/contributors","subscribers_url":"https://api.github.com/repos/imanhodjaev/vue/subscribers","subscription_url":"https://api.github.com/repos/imanhodjaev/vue/subscription","commits_url":"https://api.github.com/repos/imanhodjaev/vue/commits{/sha}","git_commits_url":"https://api.github.com/repos/imanhodjaev/vue/git/commits{/sha}","comments_url":"https://api.github.com/repos/imanhodjaev/vue/comments{/number}","issue_comment_url":"https://api.github.com/repos/imanhodjaev/vue/issues/comments{/number}","contents_url":"https://api.github.com/repos/imanhodjaev/vue/contents/{+path}","compare_url":"https://api.github.com/repos/imanhodjaev/vue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imanhodjaev/vue/merges","archive_url":"https://api.github.com/repos/imanhodjaev/vue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imanhodjaev/vue/downloads","issues_url":"https://api.github.com/repos/imanhodjaev/vue/issues{/number}","pulls_url":"https://api.github.com/repos/imanhodjaev/vue/pulls{/number}","milestones_url":"https://api.github.com/repos/imanhodjaev/vue/milestones{/number}","notifications_url":"https://api.github.com/repos/imanhodjaev/vue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imanhodjaev/vue/labels{/name}","releases_url":"https://api.github.com/repos/imanhodjaev/vue/releases{/id}","deployments_url":"https://api.github.com/repos/imanhodjaev/vue/deployments","created_at":"2018-09-26T13:15:54Z","updated_at":"2018-09-26T13:16:08Z","pushed_at":"2018-09-26T14:13:42Z","git_url":"git://github.com/imanhodjaev/vue.git","ssh_url":"git@github.com:imanhodjaev/vue.git","clone_url":"https://github.com/imanhodjaev/vue.git","svn_url":"https://github.com/imanhodjaev/vue","homepage":"http://vuejs.org","size":23754,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"vuejs:dev","ref":"dev","sha":"79cabadeace0e01fb63aa9f220f41193c0ca93af","user":{"login":"vuejs","id":6128107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMjgxMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6128107?v=4","gravatar_id":"","url":"https://api.github.com/users/vuejs","html_url":"https://github.com/vuejs","followers_url":"https://api.github.com/users/vuejs/followers","following_url":"https://api.github.com/users/vuejs/following{/other_user}","gists_url":"https://api.github.com/users/vuejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs/subscriptions","organizations_url":"https://api.github.com/users/vuejs/orgs","repos_url":"https://api.github.com/users/vuejs/repos","events_url":"https://api.github.com/users/vuejs/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs/received_events","type":"Organization","site_admin":false},"repo":{"id":11730342,"node_id":"MDEwOlJlcG9zaXRvcnkxMTczMDM0Mg==","name":"vue","full_name":"vuejs/vue","private":false,"owner":{"login":"vuejs","id":6128107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMjgxMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6128107?v=4","gravatar_id":"","url":"https://api.github.com/users/vuejs","html_url":"https://github.com/vuejs","followers_url":"https://api.github.com/users/vuejs/followers","following_url":"https://api.github.com/users/vuejs/following{/other_user}","gists_url":"https://api.github.com/users/vuejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs/subscriptions","organizations_url":"https://api.github.com/users/vuejs/orgs","repos_url":"https://api.github.com/users/vuejs/repos","events_url":"https://api.github.com/users/vuejs/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/vuejs/vue","description":"🖖 A progressive, incrementally-adoptable JavaScript framework for building UI on the web.","fork":false,"url":"https://api.github.com/repos/vuejs/vue","forks_url":"https://api.github.com/repos/vuejs/vue/forks","keys_url":"https://api.github.com/repos/vuejs/vue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuejs/vue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuejs/vue/teams","hooks_url":"https://api.github.com/repos/vuejs/vue/hooks","issue_events_url":"https://api.github.com/repos/vuejs/vue/issues/events{/number}","events_url":"https://api.github.com/repos/vuejs/vue/events","assignees_url":"https://api.github.com/repos/vuejs/vue/assignees{/user}","branches_url":"https://api.github.com/repos/vuejs/vue/branches{/branch}","tags_url":"https://api.github.com/repos/vuejs/vue/tags","blobs_url":"https://api.github.com/repos/vuejs/vue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuejs/vue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuejs/vue/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuejs/vue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuejs/vue/statuses/{sha}","languages_url":"https://api.github.com/repos/vuejs/vue/languages","stargazers_url":"https://api.github.com/repos/vuejs/vue/stargazers","contributors_url":"https://api.github.com/repos/vuejs/vue/contributors","subscribers_url":"https://api.github.com/repos/vuejs/vue/subscribers","subscription_url":"https://api.github.com/repos/vuejs/vue/subscription","commits_url":"https://api.github.com/repos/vuejs/vue/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuejs/vue/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuejs/vue/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuejs/vue/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuejs/vue/contents/{+path}","compare_url":"https://api.github.com/repos/vuejs/vue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuejs/vue/merges","archive_url":"https://api.github.com/repos/vuejs/vue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuejs/vue/downloads","issues_url":"https://api.github.com/repos/vuejs/vue/issues{/number}","pulls_url":"https://api.github.com/repos/vuejs/vue/pulls{/number}","milestones_url":"https://api.github.com/repos/vuejs/vue/milestones{/number}","notifications_url":"https://api.github.com/repos/vuejs/vue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuejs/vue/labels{/name}","releases_url":"https://api.github.com/repos/vuejs/vue/releases{/id}","deployments_url":"https://api.github.com/repos/vuejs/vue/deployments","created_at":"2013-07-29T03:24:51Z","updated_at":"2018-09-26T14:07:42Z","pushed_at":"2018-09-26T07:21:35Z","git_url":"git://github.com/vuejs/vue.git","ssh_url":"git@github.com:vuejs/vue.git","clone_url":"https://github.com/vuejs/vue.git","svn_url":"https://github.com/vuejs/vue","homepage":"http://vuejs.org","size":23754,"stargazers_count":114896,"watchers_count":114896,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16169,"mirror_url":null,"archived":false,"open_issues_count":318,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16169,"open_issues":318,"watchers":114896,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/vuejs/vue/pulls/8848"},"html":{"href":"https://github.com/vuejs/vue/pull/8848"},"issue":{"href":"https://api.github.com/repos/vuejs/vue/issues/8848"},"comments":{"href":"https://api.github.com/repos/vuejs/vue/issues/8848/comments"},"review_comments":{"href":"https://api.github.com/repos/vuejs/vue/pulls/8848/comments"},"review_comment":{"href":"https://api.github.com/repos/vuejs/vue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vuejs/vue/pulls/8848/commits"},"statuses":{"href":"https://api.github.com/repos/vuejs/vue/statuses/c4be1ee768534cb6013c3d18a1dfe2bc83f26e64"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"imanhodjaev"}}