{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/18","id":60297847,"html_url":"https://github.com/Blanket-Warriors/BentoTime/pull/18","diff_url":"https://github.com/Blanket-Warriors/BentoTime/pull/18.diff","patch_url":"https://github.com/Blanket-Warriors/BentoTime/pull/18.patch","issue_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/issues/18","number":18,"state":"open","locked":false,"title":"Fixes Layout.js to always load correctly","user":{"login":"ivebencrazy","id":8182843,"avatar_url":"https://avatars.githubusercontent.com/u/8182843?v=3","gravatar_id":"","url":"https://api.github.com/users/ivebencrazy","html_url":"https://github.com/ivebencrazy","followers_url":"https://api.github.com/users/ivebencrazy/followers","following_url":"https://api.github.com/users/ivebencrazy/following{/other_user}","gists_url":"https://api.github.com/users/ivebencrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/ivebencrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivebencrazy/subscriptions","organizations_url":"https://api.github.com/users/ivebencrazy/orgs","repos_url":"https://api.github.com/users/ivebencrazy/repos","events_url":"https://api.github.com/users/ivebencrazy/events{/privacy}","received_events_url":"https://api.github.com/users/ivebencrazy/received_events","type":"User","site_admin":false},"body":"Background\r\n\r\nThere was significant problems with the clarity and the cleanliness of Layout.js, leading to issue https://github.com/Blanket-Warriors/BentoTime/issues/16.  This PR cleans up Layout.js, solves that bug, and adds some testing and documentation.\r\n\r\n# Changes\r\n\r\n - [x] Cleans up Layout.js so the logic is easier to follow\r\n - [x] Let all pages render correctly with all of their data\r\n - [x] Write tests for Layout.js (More can still be done here, but it's slightly difficult without diving into private properties).\r\n - [x] Adds `inject-loader` for webpack, so we can inject mock import dependencies and unit test modules on a smaller scale.\r\n - [x] Adds documentation for Layout.js\r\n\r\n# References\r\n\r\nLayout.js Cleanup - https://github.com/Blanket-Warriors/BentoTime/issues/7\r\nDoesn't Render Correctly when cold-calling a Chapter - https://github.com/Blanket-Warriors/BentoTime/issues/16\r\n\r\n# Reviewers\r\n\r\n@mistermjtek @ddrabik ","created_at":"2016-02-23T07:17:11Z","updated_at":"2016-02-23T07:17:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/18/commits","review_comments_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/18/comments","review_comment_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/issues/18/comments","statuses_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/statuses/c0dffe80966f826106fdb721b59a7251f82858d7","head":{"label":"ivebencrazy:development","ref":"development","sha":"c0dffe80966f826106fdb721b59a7251f82858d7","user":{"login":"ivebencrazy","id":8182843,"avatar_url":"https://avatars.githubusercontent.com/u/8182843?v=3","gravatar_id":"","url":"https://api.github.com/users/ivebencrazy","html_url":"https://github.com/ivebencrazy","followers_url":"https://api.github.com/users/ivebencrazy/followers","following_url":"https://api.github.com/users/ivebencrazy/following{/other_user}","gists_url":"https://api.github.com/users/ivebencrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/ivebencrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivebencrazy/subscriptions","organizations_url":"https://api.github.com/users/ivebencrazy/orgs","repos_url":"https://api.github.com/users/ivebencrazy/repos","events_url":"https://api.github.com/users/ivebencrazy/events{/privacy}","received_events_url":"https://api.github.com/users/ivebencrazy/received_events","type":"User","site_admin":false},"repo":{"id":43776682,"name":"BentoTime","full_name":"ivebencrazy/BentoTime","owner":{"login":"ivebencrazy","id":8182843,"avatar_url":"https://avatars.githubusercontent.com/u/8182843?v=3","gravatar_id":"","url":"https://api.github.com/users/ivebencrazy","html_url":"https://github.com/ivebencrazy","followers_url":"https://api.github.com/users/ivebencrazy/followers","following_url":"https://api.github.com/users/ivebencrazy/following{/other_user}","gists_url":"https://api.github.com/users/ivebencrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/ivebencrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivebencrazy/subscriptions","organizations_url":"https://api.github.com/users/ivebencrazy/orgs","repos_url":"https://api.github.com/users/ivebencrazy/repos","events_url":"https://api.github.com/users/ivebencrazy/events{/privacy}","received_events_url":"https://api.github.com/users/ivebencrazy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivebencrazy/BentoTime","description":"A native pc/mac/linux app for reading and saving manga.","fork":true,"url":"https://api.github.com/repos/ivebencrazy/BentoTime","forks_url":"https://api.github.com/repos/ivebencrazy/BentoTime/forks","keys_url":"https://api.github.com/repos/ivebencrazy/BentoTime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivebencrazy/BentoTime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivebencrazy/BentoTime/teams","hooks_url":"https://api.github.com/repos/ivebencrazy/BentoTime/hooks","issue_events_url":"https://api.github.com/repos/ivebencrazy/BentoTime/issues/events{/number}","events_url":"https://api.github.com/repos/ivebencrazy/BentoTime/events","assignees_url":"https://api.github.com/repos/ivebencrazy/BentoTime/assignees{/user}","branches_url":"https://api.github.com/repos/ivebencrazy/BentoTime/branches{/branch}","tags_url":"https://api.github.com/repos/ivebencrazy/BentoTime/tags","blobs_url":"https://api.github.com/repos/ivebencrazy/BentoTime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivebencrazy/BentoTime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivebencrazy/BentoTime/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivebencrazy/BentoTime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivebencrazy/BentoTime/statuses/{sha}","languages_url":"https://api.github.com/repos/ivebencrazy/BentoTime/languages","stargazers_url":"https://api.github.com/repos/ivebencrazy/BentoTime/stargazers","contributors_url":"https://api.github.com/repos/ivebencrazy/BentoTime/contributors","subscribers_url":"https://api.github.com/repos/ivebencrazy/BentoTime/subscribers","subscription_url":"https://api.github.com/repos/ivebencrazy/BentoTime/subscription","commits_url":"https://api.github.com/repos/ivebencrazy/BentoTime/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivebencrazy/BentoTime/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivebencrazy/BentoTime/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivebencrazy/BentoTime/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivebencrazy/BentoTime/contents/{+path}","compare_url":"https://api.github.com/repos/ivebencrazy/BentoTime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivebencrazy/BentoTime/merges","archive_url":"https://api.github.com/repos/ivebencrazy/BentoTime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivebencrazy/BentoTime/downloads","issues_url":"https://api.github.com/repos/ivebencrazy/BentoTime/issues{/number}","pulls_url":"https://api.github.com/repos/ivebencrazy/BentoTime/pulls{/number}","milestones_url":"https://api.github.com/repos/ivebencrazy/BentoTime/milestones{/number}","notifications_url":"https://api.github.com/repos/ivebencrazy/BentoTime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivebencrazy/BentoTime/labels{/name}","releases_url":"https://api.github.com/repos/ivebencrazy/BentoTime/releases{/id}","deployments_url":"https://api.github.com/repos/ivebencrazy/BentoTime/deployments","created_at":"2015-10-06T20:29:52Z","updated_at":"2016-01-13T06:27:30Z","pushed_at":"2016-02-23T07:05:49Z","git_url":"git://github.com/ivebencrazy/BentoTime.git","ssh_url":"git@github.com:ivebencrazy/BentoTime.git","clone_url":"https://github.com/ivebencrazy/BentoTime.git","svn_url":"https://github.com/ivebencrazy/BentoTime","homepage":null,"size":3139,"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":"Blanket-Warriors:development","ref":"development","sha":"7628677b46ff9748cce5a92a41800efba10d5c37","user":{"login":"Blanket-Warriors","id":11801386,"avatar_url":"https://avatars.githubusercontent.com/u/11801386?v=3","gravatar_id":"","url":"https://api.github.com/users/Blanket-Warriors","html_url":"https://github.com/Blanket-Warriors","followers_url":"https://api.github.com/users/Blanket-Warriors/followers","following_url":"https://api.github.com/users/Blanket-Warriors/following{/other_user}","gists_url":"https://api.github.com/users/Blanket-Warriors/gists{/gist_id}","starred_url":"https://api.github.com/users/Blanket-Warriors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blanket-Warriors/subscriptions","organizations_url":"https://api.github.com/users/Blanket-Warriors/orgs","repos_url":"https://api.github.com/users/Blanket-Warriors/repos","events_url":"https://api.github.com/users/Blanket-Warriors/events{/privacy}","received_events_url":"https://api.github.com/users/Blanket-Warriors/received_events","type":"Organization","site_admin":false},"repo":{"id":43625276,"name":"BentoTime","full_name":"Blanket-Warriors/BentoTime","owner":{"login":"Blanket-Warriors","id":11801386,"avatar_url":"https://avatars.githubusercontent.com/u/11801386?v=3","gravatar_id":"","url":"https://api.github.com/users/Blanket-Warriors","html_url":"https://github.com/Blanket-Warriors","followers_url":"https://api.github.com/users/Blanket-Warriors/followers","following_url":"https://api.github.com/users/Blanket-Warriors/following{/other_user}","gists_url":"https://api.github.com/users/Blanket-Warriors/gists{/gist_id}","starred_url":"https://api.github.com/users/Blanket-Warriors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blanket-Warriors/subscriptions","organizations_url":"https://api.github.com/users/Blanket-Warriors/orgs","repos_url":"https://api.github.com/users/Blanket-Warriors/repos","events_url":"https://api.github.com/users/Blanket-Warriors/events{/privacy}","received_events_url":"https://api.github.com/users/Blanket-Warriors/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Blanket-Warriors/BentoTime","description":"A native pc/mac/linux app for reading and saving manga.","fork":false,"url":"https://api.github.com/repos/Blanket-Warriors/BentoTime","forks_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/forks","keys_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/teams","hooks_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/hooks","issue_events_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/issues/events{/number}","events_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/events","assignees_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/assignees{/user}","branches_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/branches{/branch}","tags_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/tags","blobs_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/git/refs{/sha}","trees_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/statuses/{sha}","languages_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/languages","stargazers_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/stargazers","contributors_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/contributors","subscribers_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/subscribers","subscription_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/subscription","commits_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/commits{/sha}","git_commits_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/git/commits{/sha}","comments_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/comments{/number}","issue_comment_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/issues/comments{/number}","contents_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/contents/{+path}","compare_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/merges","archive_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/downloads","issues_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/issues{/number}","pulls_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls{/number}","milestones_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/milestones{/number}","notifications_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/labels{/name}","releases_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/releases{/id}","deployments_url":"https://api.github.com/repos/Blanket-Warriors/BentoTime/deployments","created_at":"2015-10-04T04:43:10Z","updated_at":"2016-02-19T06:57:40Z","pushed_at":"2016-02-22T02:43:05Z","git_url":"git://github.com/Blanket-Warriors/BentoTime.git","ssh_url":"git@github.com:Blanket-Warriors/BentoTime.git","clone_url":"https://github.com/Blanket-Warriors/BentoTime.git","svn_url":"https://github.com/Blanket-Warriors/BentoTime","homepage":null,"size":1677,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/18"},"html":{"href":"https://github.com/Blanket-Warriors/BentoTime/pull/18"},"issue":{"href":"https://api.github.com/repos/Blanket-Warriors/BentoTime/issues/18"},"comments":{"href":"https://api.github.com/repos/Blanket-Warriors/BentoTime/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Blanket-Warriors/BentoTime/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/Blanket-Warriors/BentoTime/statuses/c0dffe80966f826106fdb721b59a7251f82858d7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":211,"deletions":49,"changed_files":6}}