{"action":"created","comment":{"url":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/comments/81447953","pull_request_review_id":2429898,"id":81447953,"diff_hunk":"@@ -0,0 +1,21 @@\n+import Component from 'ember-component';\n+import computed from 'ember-computed';\n+\n+export default Component.extend({\n+  tagName: 'button',\n+  classNames: ['btn'],\n+  typeClass: computed('type', function() {\n+    const typeList = ['success', 'error', 'primary'];\n+    const type = this.type;\n+    return typeList.includes(type) ? `btn-${type}` : 'btn-primary';\n+  }),\n+  sizeClass: computed('size', function() {\n+    if (size === this.size) return 'btn-block';","path":"app/modules/components/ui/ui-button/component.js","position":13,"original_position":13,"commit_id":"67d494e4b635a430edbcb4e04ee3a6cb5aaf25d6","original_commit_id":"67d494e4b635a430edbcb4e04ee3a6cb5aaf25d6","user":{"login":"BraveStone","id":7373422,"avatar_url":"https://avatars.githubusercontent.com/u/7373422?v=3","gravatar_id":"","url":"https://api.github.com/users/BraveStone","html_url":"https://github.com/BraveStone","followers_url":"https://api.github.com/users/BraveStone/followers","following_url":"https://api.github.com/users/BraveStone/following{/other_user}","gists_url":"https://api.github.com/users/BraveStone/gists{/gist_id}","starred_url":"https://api.github.com/users/BraveStone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BraveStone/subscriptions","organizations_url":"https://api.github.com/users/BraveStone/orgs","repos_url":"https://api.github.com/users/BraveStone/repos","events_url":"https://api.github.com/users/BraveStone/events{/privacy}","received_events_url":"https://api.github.com/users/BraveStone/received_events","type":"User","site_admin":false},"body":"你这里这个size变量没有定义，是不是忘了当参数传进来了","created_at":"2016-10-01T10:32:38Z","updated_at":"2016-10-01T10:32:38Z","html_url":"https://github.com/very-geek/ember-sandbox/pull/3#discussion_r81447953","pull_request_url":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/comments/81447953"},"html":{"href":"https://github.com/very-geek/ember-sandbox/pull/3#discussion_r81447953"},"pull_request":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3","id":87593267,"html_url":"https://github.com/very-geek/ember-sandbox/pull/3","diff_url":"https://github.com/very-geek/ember-sandbox/pull/3.diff","patch_url":"https://github.com/very-geek/ember-sandbox/pull/3.patch","issue_url":"https://api.github.com/repos/very-geek/ember-sandbox/issues/3","number":3,"state":"open","locked":false,"title":"003: [FINISH]","user":{"login":"lixu19941116","id":6327995,"avatar_url":"https://avatars.githubusercontent.com/u/6327995?v=3","gravatar_id":"","url":"https://api.github.com/users/lixu19941116","html_url":"https://github.com/lixu19941116","followers_url":"https://api.github.com/users/lixu19941116/followers","following_url":"https://api.github.com/users/lixu19941116/following{/other_user}","gists_url":"https://api.github.com/users/lixu19941116/gists{/gist_id}","starred_url":"https://api.github.com/users/lixu19941116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixu19941116/subscriptions","organizations_url":"https://api.github.com/users/lixu19941116/orgs","repos_url":"https://api.github.com/users/lixu19941116/repos","events_url":"https://api.github.com/users/lixu19941116/events{/privacy}","received_events_url":"https://api.github.com/users/lixu19941116/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-01T06:14:26Z","updated_at":"2016-10-01T10:32:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e6b36b54957d25683a81ec1eec1675f63bcea60","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3/commits","review_comments_url":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3/comments","review_comment_url":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/very-geek/ember-sandbox/issues/3/comments","statuses_url":"https://api.github.com/repos/very-geek/ember-sandbox/statuses/67d494e4b635a430edbcb4e04ee3a6cb5aaf25d6","head":{"label":"lixu19941116:003/begin","ref":"003/begin","sha":"67d494e4b635a430edbcb4e04ee3a6cb5aaf25d6","user":{"login":"lixu19941116","id":6327995,"avatar_url":"https://avatars.githubusercontent.com/u/6327995?v=3","gravatar_id":"","url":"https://api.github.com/users/lixu19941116","html_url":"https://github.com/lixu19941116","followers_url":"https://api.github.com/users/lixu19941116/followers","following_url":"https://api.github.com/users/lixu19941116/following{/other_user}","gists_url":"https://api.github.com/users/lixu19941116/gists{/gist_id}","starred_url":"https://api.github.com/users/lixu19941116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixu19941116/subscriptions","organizations_url":"https://api.github.com/users/lixu19941116/orgs","repos_url":"https://api.github.com/users/lixu19941116/repos","events_url":"https://api.github.com/users/lixu19941116/events{/privacy}","received_events_url":"https://api.github.com/users/lixu19941116/received_events","type":"User","site_admin":false},"repo":{"id":69674518,"name":"ember-sandbox","full_name":"lixu19941116/ember-sandbox","owner":{"login":"lixu19941116","id":6327995,"avatar_url":"https://avatars.githubusercontent.com/u/6327995?v=3","gravatar_id":"","url":"https://api.github.com/users/lixu19941116","html_url":"https://github.com/lixu19941116","followers_url":"https://api.github.com/users/lixu19941116/followers","following_url":"https://api.github.com/users/lixu19941116/following{/other_user}","gists_url":"https://api.github.com/users/lixu19941116/gists{/gist_id}","starred_url":"https://api.github.com/users/lixu19941116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixu19941116/subscriptions","organizations_url":"https://api.github.com/users/lixu19941116/orgs","repos_url":"https://api.github.com/users/lixu19941116/repos","events_url":"https://api.github.com/users/lixu19941116/events{/privacy}","received_events_url":"https://api.github.com/users/lixu19941116/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lixu19941116/ember-sandbox","description":null,"fork":true,"url":"https://api.github.com/repos/lixu19941116/ember-sandbox","forks_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/forks","keys_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/teams","hooks_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/hooks","issue_events_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/events","assignees_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/tags","blobs_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/languages","stargazers_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/stargazers","contributors_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/contributors","subscribers_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/subscribers","subscription_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/subscription","commits_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/merges","archive_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/downloads","issues_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/labels{/name}","releases_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/lixu19941116/ember-sandbox/deployments","created_at":"2016-09-30T14:38:35Z","updated_at":"2016-09-30T14:38:36Z","pushed_at":"2016-10-01T10:02:35Z","git_url":"git://github.com/lixu19941116/ember-sandbox.git","ssh_url":"git@github.com:lixu19941116/ember-sandbox.git","clone_url":"https://github.com/lixu19941116/ember-sandbox.git","svn_url":"https://github.com/lixu19941116/ember-sandbox","homepage":null,"size":24,"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":"very-geek:003/begin","ref":"003/begin","sha":"4676e85befb4f92e2299a68f986186a187c02538","user":{"login":"very-geek","id":3257558,"avatar_url":"https://avatars.githubusercontent.com/u/3257558?v=3","gravatar_id":"","url":"https://api.github.com/users/very-geek","html_url":"https://github.com/very-geek","followers_url":"https://api.github.com/users/very-geek/followers","following_url":"https://api.github.com/users/very-geek/following{/other_user}","gists_url":"https://api.github.com/users/very-geek/gists{/gist_id}","starred_url":"https://api.github.com/users/very-geek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/very-geek/subscriptions","organizations_url":"https://api.github.com/users/very-geek/orgs","repos_url":"https://api.github.com/users/very-geek/repos","events_url":"https://api.github.com/users/very-geek/events{/privacy}","received_events_url":"https://api.github.com/users/very-geek/received_events","type":"Organization","site_admin":false},"repo":{"id":69476546,"name":"ember-sandbox","full_name":"very-geek/ember-sandbox","owner":{"login":"very-geek","id":3257558,"avatar_url":"https://avatars.githubusercontent.com/u/3257558?v=3","gravatar_id":"","url":"https://api.github.com/users/very-geek","html_url":"https://github.com/very-geek","followers_url":"https://api.github.com/users/very-geek/followers","following_url":"https://api.github.com/users/very-geek/following{/other_user}","gists_url":"https://api.github.com/users/very-geek/gists{/gist_id}","starred_url":"https://api.github.com/users/very-geek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/very-geek/subscriptions","organizations_url":"https://api.github.com/users/very-geek/orgs","repos_url":"https://api.github.com/users/very-geek/repos","events_url":"https://api.github.com/users/very-geek/events{/privacy}","received_events_url":"https://api.github.com/users/very-geek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/very-geek/ember-sandbox","description":"任何人都可以参与的前端技能练习与挑战项目（使用 Ember.js 框架为主）","fork":false,"url":"https://api.github.com/repos/very-geek/ember-sandbox","forks_url":"https://api.github.com/repos/very-geek/ember-sandbox/forks","keys_url":"https://api.github.com/repos/very-geek/ember-sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/very-geek/ember-sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/very-geek/ember-sandbox/teams","hooks_url":"https://api.github.com/repos/very-geek/ember-sandbox/hooks","issue_events_url":"https://api.github.com/repos/very-geek/ember-sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/very-geek/ember-sandbox/events","assignees_url":"https://api.github.com/repos/very-geek/ember-sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/very-geek/ember-sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/very-geek/ember-sandbox/tags","blobs_url":"https://api.github.com/repos/very-geek/ember-sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/very-geek/ember-sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/very-geek/ember-sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/very-geek/ember-sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/very-geek/ember-sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/very-geek/ember-sandbox/languages","stargazers_url":"https://api.github.com/repos/very-geek/ember-sandbox/stargazers","contributors_url":"https://api.github.com/repos/very-geek/ember-sandbox/contributors","subscribers_url":"https://api.github.com/repos/very-geek/ember-sandbox/subscribers","subscription_url":"https://api.github.com/repos/very-geek/ember-sandbox/subscription","commits_url":"https://api.github.com/repos/very-geek/ember-sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/very-geek/ember-sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/very-geek/ember-sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/very-geek/ember-sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/very-geek/ember-sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/very-geek/ember-sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/very-geek/ember-sandbox/merges","archive_url":"https://api.github.com/repos/very-geek/ember-sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/very-geek/ember-sandbox/downloads","issues_url":"https://api.github.com/repos/very-geek/ember-sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/very-geek/ember-sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/very-geek/ember-sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/very-geek/ember-sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/very-geek/ember-sandbox/labels{/name}","releases_url":"https://api.github.com/repos/very-geek/ember-sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/very-geek/ember-sandbox/deployments","created_at":"2016-09-28T15:21:25Z","updated_at":"2016-09-30T20:01:13Z","pushed_at":"2016-10-01T06:14:26Z","git_url":"git://github.com/very-geek/ember-sandbox.git","ssh_url":"git@github.com:very-geek/ember-sandbox.git","clone_url":"https://github.com/very-geek/ember-sandbox.git","svn_url":"https://github.com/very-geek/ember-sandbox","homepage":"","size":32,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3"},"html":{"href":"https://github.com/very-geek/ember-sandbox/pull/3"},"issue":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/issues/3"},"comments":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/very-geek/ember-sandbox/statuses/67d494e4b635a430edbcb4e04ee3a6cb5aaf25d6"}}}}
{"actor":{"display_login":"BraveStone"}}