{"action":"created","comment":{"url":"https://api.github.com/repos/komic-awesome/komic/pulls/comments/38817252","id":38817252,"diff_hunk":"@@ -19,7 +19,7 @@ class BookCover extends React.Component {\n           <li>\n             <VertialAlignMiddle>\n               <div style={ Object.assign(model.getBookCoverSize(), {textAlign: 'center'}) }>\n-                <Link to=\"reader\" params={{page: \"0\"}} className=\"btn btn-read\">阅 读</Link>\n+                <Link to=\"reader\" params={{page: \"1\"}} className=\"btn btn-read\">阅 读</Link>","path":"src/views/book_intro.js","position":5,"original_position":5,"commit_id":"06e51d414ab182a0fdc6f458aa13a5c365a25847","original_commit_id":"06e51d414ab182a0fdc6f458aa13a5c365a25847","user":{"login":"hxgdzyuyi","id":163671,"avatar_url":"https://avatars.githubusercontent.com/u/163671?v=3","gravatar_id":"","url":"https://api.github.com/users/hxgdzyuyi","html_url":"https://github.com/hxgdzyuyi","followers_url":"https://api.github.com/users/hxgdzyuyi/followers","following_url":"https://api.github.com/users/hxgdzyuyi/following{/other_user}","gists_url":"https://api.github.com/users/hxgdzyuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hxgdzyuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hxgdzyuyi/subscriptions","organizations_url":"https://api.github.com/users/hxgdzyuyi/orgs","repos_url":"https://api.github.com/users/hxgdzyuyi/repos","events_url":"https://api.github.com/users/hxgdzyuyi/events{/privacy}","received_events_url":"https://api.github.com/users/hxgdzyuyi/received_events","type":"User","site_admin":false},"body":"@kyon0304 可能是吧。。","created_at":"2015-09-06T03:31:12Z","updated_at":"2015-09-06T03:31:12Z","html_url":"https://github.com/komic-awesome/komic/pull/35#discussion_r38817252","pull_request_url":"https://api.github.com/repos/komic-awesome/komic/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/komic-awesome/komic/pulls/comments/38817252"},"html":{"href":"https://github.com/komic-awesome/komic/pull/35#discussion_r38817252"},"pull_request":{"href":"https://api.github.com/repos/komic-awesome/komic/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/komic-awesome/komic/pulls/35","id":44282398,"html_url":"https://github.com/komic-awesome/komic/pull/35","diff_url":"https://github.com/komic-awesome/komic/pull/35.diff","patch_url":"https://github.com/komic-awesome/komic/pull/35.patch","issue_url":"https://api.github.com/repos/komic-awesome/komic/issues/35","number":35,"state":"open","locked":false,"title":"添加自动分页功能","user":{"login":"hxgdzyuyi","id":163671,"avatar_url":"https://avatars.githubusercontent.com/u/163671?v=3","gravatar_id":"","url":"https://api.github.com/users/hxgdzyuyi","html_url":"https://github.com/hxgdzyuyi","followers_url":"https://api.github.com/users/hxgdzyuyi/followers","following_url":"https://api.github.com/users/hxgdzyuyi/following{/other_user}","gists_url":"https://api.github.com/users/hxgdzyuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hxgdzyuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hxgdzyuyi/subscriptions","organizations_url":"https://api.github.com/users/hxgdzyuyi/orgs","repos_url":"https://api.github.com/users/hxgdzyuyi/repos","events_url":"https://api.github.com/users/hxgdzyuyi/events{/privacy}","received_events_url":"https://api.github.com/users/hxgdzyuyi/received_events","type":"User","site_admin":false},"body":"models/book \r\n  - 内置的 content 负责管理和存取来自 content.json 的数据。\r\n  - models/book 是一个组合了 canvas 和 content 两个 model 的对象，翻页由这个对象负责(因为翻页现在需要依赖canvas的自动分页配置，和 content 的内容)\r\n\r\nmodels/canvas \r\n  - 更纯粹的负责界面的配置\r\n\r\n分页打开前的 url `/3` 打开后变成 `/3?splitedIndex=0`, `/3?splitedIndex=1`，这个两个页面页码的现实都是 `3` ,  （TODO：以后改成 3A, 3B 也许会更好）\r\n\r\n\r\n### 自动分页打开后\r\n\r\n![image](https://cloud.githubusercontent.com/assets/163671/9699288/2170517c-5410-11e5-8a97-cad04472f7c7.png)\r\n\r\n### 自动分页未打开\r\n\r\n![image](https://cloud.githubusercontent.com/assets/163671/9699293/32443a40-5410-11e5-9b30-c992a7e6d1f9.png)\r\n\r\n","created_at":"2015-09-05T12:51:05Z","updated_at":"2015-09-06T03:31:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"521a6091473564eec621a0842a7647317086a54f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/komic-awesome/komic/pulls/35/commits","review_comments_url":"https://api.github.com/repos/komic-awesome/komic/pulls/35/comments","review_comment_url":"https://api.github.com/repos/komic-awesome/komic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/komic-awesome/komic/issues/35/comments","statuses_url":"https://api.github.com/repos/komic-awesome/komic/statuses/06e51d414ab182a0fdc6f458aa13a5c365a25847","head":{"label":"hxgdzyuyi:splited","ref":"splited","sha":"06e51d414ab182a0fdc6f458aa13a5c365a25847","user":{"login":"hxgdzyuyi","id":163671,"avatar_url":"https://avatars.githubusercontent.com/u/163671?v=3","gravatar_id":"","url":"https://api.github.com/users/hxgdzyuyi","html_url":"https://github.com/hxgdzyuyi","followers_url":"https://api.github.com/users/hxgdzyuyi/followers","following_url":"https://api.github.com/users/hxgdzyuyi/following{/other_user}","gists_url":"https://api.github.com/users/hxgdzyuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hxgdzyuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hxgdzyuyi/subscriptions","organizations_url":"https://api.github.com/users/hxgdzyuyi/orgs","repos_url":"https://api.github.com/users/hxgdzyuyi/repos","events_url":"https://api.github.com/users/hxgdzyuyi/events{/privacy}","received_events_url":"https://api.github.com/users/hxgdzyuyi/received_events","type":"User","site_admin":false},"repo":{"id":39776354,"name":"komic","full_name":"hxgdzyuyi/komic","owner":{"login":"hxgdzyuyi","id":163671,"avatar_url":"https://avatars.githubusercontent.com/u/163671?v=3","gravatar_id":"","url":"https://api.github.com/users/hxgdzyuyi","html_url":"https://github.com/hxgdzyuyi","followers_url":"https://api.github.com/users/hxgdzyuyi/followers","following_url":"https://api.github.com/users/hxgdzyuyi/following{/other_user}","gists_url":"https://api.github.com/users/hxgdzyuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hxgdzyuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hxgdzyuyi/subscriptions","organizations_url":"https://api.github.com/users/hxgdzyuyi/orgs","repos_url":"https://api.github.com/users/hxgdzyuyi/repos","events_url":"https://api.github.com/users/hxgdzyuyi/events{/privacy}","received_events_url":"https://api.github.com/users/hxgdzyuyi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hxgdzyuyi/komic","description":"","fork":true,"url":"https://api.github.com/repos/hxgdzyuyi/komic","forks_url":"https://api.github.com/repos/hxgdzyuyi/komic/forks","keys_url":"https://api.github.com/repos/hxgdzyuyi/komic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hxgdzyuyi/komic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hxgdzyuyi/komic/teams","hooks_url":"https://api.github.com/repos/hxgdzyuyi/komic/hooks","issue_events_url":"https://api.github.com/repos/hxgdzyuyi/komic/issues/events{/number}","events_url":"https://api.github.com/repos/hxgdzyuyi/komic/events","assignees_url":"https://api.github.com/repos/hxgdzyuyi/komic/assignees{/user}","branches_url":"https://api.github.com/repos/hxgdzyuyi/komic/branches{/branch}","tags_url":"https://api.github.com/repos/hxgdzyuyi/komic/tags","blobs_url":"https://api.github.com/repos/hxgdzyuyi/komic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hxgdzyuyi/komic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hxgdzyuyi/komic/git/refs{/sha}","trees_url":"https://api.github.com/repos/hxgdzyuyi/komic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hxgdzyuyi/komic/statuses/{sha}","languages_url":"https://api.github.com/repos/hxgdzyuyi/komic/languages","stargazers_url":"https://api.github.com/repos/hxgdzyuyi/komic/stargazers","contributors_url":"https://api.github.com/repos/hxgdzyuyi/komic/contributors","subscribers_url":"https://api.github.com/repos/hxgdzyuyi/komic/subscribers","subscription_url":"https://api.github.com/repos/hxgdzyuyi/komic/subscription","commits_url":"https://api.github.com/repos/hxgdzyuyi/komic/commits{/sha}","git_commits_url":"https://api.github.com/repos/hxgdzyuyi/komic/git/commits{/sha}","comments_url":"https://api.github.com/repos/hxgdzyuyi/komic/comments{/number}","issue_comment_url":"https://api.github.com/repos/hxgdzyuyi/komic/issues/comments{/number}","contents_url":"https://api.github.com/repos/hxgdzyuyi/komic/contents/{+path}","compare_url":"https://api.github.com/repos/hxgdzyuyi/komic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hxgdzyuyi/komic/merges","archive_url":"https://api.github.com/repos/hxgdzyuyi/komic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hxgdzyuyi/komic/downloads","issues_url":"https://api.github.com/repos/hxgdzyuyi/komic/issues{/number}","pulls_url":"https://api.github.com/repos/hxgdzyuyi/komic/pulls{/number}","milestones_url":"https://api.github.com/repos/hxgdzyuyi/komic/milestones{/number}","notifications_url":"https://api.github.com/repos/hxgdzyuyi/komic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hxgdzyuyi/komic/labels{/name}","releases_url":"https://api.github.com/repos/hxgdzyuyi/komic/releases{/id}","created_at":"2015-07-27T13:38:47Z","updated_at":"2015-08-19T06:32:00Z","pushed_at":"2015-09-05T16:43:44Z","git_url":"git://github.com/hxgdzyuyi/komic.git","ssh_url":"git@github.com:hxgdzyuyi/komic.git","clone_url":"https://github.com/hxgdzyuyi/komic.git","svn_url":"https://github.com/hxgdzyuyi/komic","homepage":null,"size":569,"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":"komic-awesome:master","ref":"master","sha":"92c7ed77a244aa66b74e24336b1b74eee12b4b20","user":{"login":"komic-awesome","id":13463218,"avatar_url":"https://avatars.githubusercontent.com/u/13463218?v=3","gravatar_id":"","url":"https://api.github.com/users/komic-awesome","html_url":"https://github.com/komic-awesome","followers_url":"https://api.github.com/users/komic-awesome/followers","following_url":"https://api.github.com/users/komic-awesome/following{/other_user}","gists_url":"https://api.github.com/users/komic-awesome/gists{/gist_id}","starred_url":"https://api.github.com/users/komic-awesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komic-awesome/subscriptions","organizations_url":"https://api.github.com/users/komic-awesome/orgs","repos_url":"https://api.github.com/users/komic-awesome/repos","events_url":"https://api.github.com/users/komic-awesome/events{/privacy}","received_events_url":"https://api.github.com/users/komic-awesome/received_events","type":"Organization","site_admin":false},"repo":{"id":39549905,"name":"komic","full_name":"komic-awesome/komic","owner":{"login":"komic-awesome","id":13463218,"avatar_url":"https://avatars.githubusercontent.com/u/13463218?v=3","gravatar_id":"","url":"https://api.github.com/users/komic-awesome","html_url":"https://github.com/komic-awesome","followers_url":"https://api.github.com/users/komic-awesome/followers","following_url":"https://api.github.com/users/komic-awesome/following{/other_user}","gists_url":"https://api.github.com/users/komic-awesome/gists{/gist_id}","starred_url":"https://api.github.com/users/komic-awesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komic-awesome/subscriptions","organizations_url":"https://api.github.com/users/komic-awesome/orgs","repos_url":"https://api.github.com/users/komic-awesome/repos","events_url":"https://api.github.com/users/komic-awesome/events{/privacy}","received_events_url":"https://api.github.com/users/komic-awesome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/komic-awesome/komic","description":"http://komic-awesome.gitcafe.io/#/reader/page/1","fork":false,"url":"https://api.github.com/repos/komic-awesome/komic","forks_url":"https://api.github.com/repos/komic-awesome/komic/forks","keys_url":"https://api.github.com/repos/komic-awesome/komic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/komic-awesome/komic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/komic-awesome/komic/teams","hooks_url":"https://api.github.com/repos/komic-awesome/komic/hooks","issue_events_url":"https://api.github.com/repos/komic-awesome/komic/issues/events{/number}","events_url":"https://api.github.com/repos/komic-awesome/komic/events","assignees_url":"https://api.github.com/repos/komic-awesome/komic/assignees{/user}","branches_url":"https://api.github.com/repos/komic-awesome/komic/branches{/branch}","tags_url":"https://api.github.com/repos/komic-awesome/komic/tags","blobs_url":"https://api.github.com/repos/komic-awesome/komic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/komic-awesome/komic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/komic-awesome/komic/git/refs{/sha}","trees_url":"https://api.github.com/repos/komic-awesome/komic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/komic-awesome/komic/statuses/{sha}","languages_url":"https://api.github.com/repos/komic-awesome/komic/languages","stargazers_url":"https://api.github.com/repos/komic-awesome/komic/stargazers","contributors_url":"https://api.github.com/repos/komic-awesome/komic/contributors","subscribers_url":"https://api.github.com/repos/komic-awesome/komic/subscribers","subscription_url":"https://api.github.com/repos/komic-awesome/komic/subscription","commits_url":"https://api.github.com/repos/komic-awesome/komic/commits{/sha}","git_commits_url":"https://api.github.com/repos/komic-awesome/komic/git/commits{/sha}","comments_url":"https://api.github.com/repos/komic-awesome/komic/comments{/number}","issue_comment_url":"https://api.github.com/repos/komic-awesome/komic/issues/comments{/number}","contents_url":"https://api.github.com/repos/komic-awesome/komic/contents/{+path}","compare_url":"https://api.github.com/repos/komic-awesome/komic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/komic-awesome/komic/merges","archive_url":"https://api.github.com/repos/komic-awesome/komic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/komic-awesome/komic/downloads","issues_url":"https://api.github.com/repos/komic-awesome/komic/issues{/number}","pulls_url":"https://api.github.com/repos/komic-awesome/komic/pulls{/number}","milestones_url":"https://api.github.com/repos/komic-awesome/komic/milestones{/number}","notifications_url":"https://api.github.com/repos/komic-awesome/komic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/komic-awesome/komic/labels{/name}","releases_url":"https://api.github.com/repos/komic-awesome/komic/releases{/id}","created_at":"2015-07-23T06:31:37Z","updated_at":"2015-08-27T03:27:39Z","pushed_at":"2015-09-05T16:43:44Z","git_url":"git://github.com/komic-awesome/komic.git","ssh_url":"git@github.com:komic-awesome/komic.git","clone_url":"https://github.com/komic-awesome/komic.git","svn_url":"https://github.com/komic-awesome/komic","homepage":"","size":681,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/komic-awesome/komic/pulls/35"},"html":{"href":"https://github.com/komic-awesome/komic/pull/35"},"issue":{"href":"https://api.github.com/repos/komic-awesome/komic/issues/35"},"comments":{"href":"https://api.github.com/repos/komic-awesome/komic/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/komic-awesome/komic/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/komic-awesome/komic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/komic-awesome/komic/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/komic-awesome/komic/statuses/06e51d414ab182a0fdc6f458aa13a5c365a25847"}}}}