{"action":"opened","number":74,"pull_request":{"url":"https://api.github.com/repos/superherojs/superherojs/pulls/74","id":91915149,"html_url":"https://github.com/superherojs/superherojs/pull/74","diff_url":"https://github.com/superherojs/superherojs/pull/74.diff","patch_url":"https://github.com/superherojs/superherojs/pull/74.patch","issue_url":"https://api.github.com/repos/superherojs/superherojs/issues/74","number":74,"state":"open","locked":false,"title":"Add two posts: \"The Hikikomori's Guide to JavaScript\" and \"How do Promises Work?\"","user":{"login":"ythecombinator","id":2644563,"avatar_url":"https://avatars.githubusercontent.com/u/2644563?v=3","gravatar_id":"","url":"https://api.github.com/users/ythecombinator","html_url":"https://github.com/ythecombinator","followers_url":"https://api.github.com/users/ythecombinator/followers","following_url":"https://api.github.com/users/ythecombinator/following{/other_user}","gists_url":"https://api.github.com/users/ythecombinator/gists{/gist_id}","starred_url":"https://api.github.com/users/ythecombinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ythecombinator/subscriptions","organizations_url":"https://api.github.com/users/ythecombinator/orgs","repos_url":"https://api.github.com/users/ythecombinator/repos","events_url":"https://api.github.com/users/ythecombinator/events{/privacy}","received_events_url":"https://api.github.com/users/ythecombinator/received_events","type":"User","site_admin":false},"body":"This *PR* basically adds two very useful posts from @robotlolita.\r\n\r\n- [**The Hikikomori's Guide to JavaScript**](http://robotlolita.me/2013/04/27/the-hikikomoris-guide-to-javascript.html): This post provides a few hints on best practices when thinking about applications architecture, leading us to achieve **small**, **composable** and **extensible** applications. The post is very well written; explaining succinctly the important steps when it comes to the organization of a JavaScript application - which goes much beyond, since the covered principles are actually *language-agnostic* - and it also has several examples of code.\r\n\r\n- [How do Promises Work?](http://robotlolita.me/2015/11/15/how-do-promises-work.html): The same as above but now the covered topics are *promises*. It gives us a bunch of knowledge over this topic, which involves *handling errors*, *combining promises*, a lot of theory behind them, practical examples - and it all comes very well illustrated!","created_at":"2016-11-02T06:24:39Z","updated_at":"2016-11-02T06:24:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/superherojs/superherojs/pulls/74/commits","review_comments_url":"https://api.github.com/repos/superherojs/superherojs/pulls/74/comments","review_comment_url":"https://api.github.com/repos/superherojs/superherojs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superherojs/superherojs/issues/74/comments","statuses_url":"https://api.github.com/repos/superherojs/superherojs/statuses/ad1ab409de756d4e798f02608d8415f26acde6d2","head":{"label":"ythecombinator:gh-pages","ref":"gh-pages","sha":"ad1ab409de756d4e798f02608d8415f26acde6d2","user":{"login":"ythecombinator","id":2644563,"avatar_url":"https://avatars.githubusercontent.com/u/2644563?v=3","gravatar_id":"","url":"https://api.github.com/users/ythecombinator","html_url":"https://github.com/ythecombinator","followers_url":"https://api.github.com/users/ythecombinator/followers","following_url":"https://api.github.com/users/ythecombinator/following{/other_user}","gists_url":"https://api.github.com/users/ythecombinator/gists{/gist_id}","starred_url":"https://api.github.com/users/ythecombinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ythecombinator/subscriptions","organizations_url":"https://api.github.com/users/ythecombinator/orgs","repos_url":"https://api.github.com/users/ythecombinator/repos","events_url":"https://api.github.com/users/ythecombinator/events{/privacy}","received_events_url":"https://api.github.com/users/ythecombinator/received_events","type":"User","site_admin":false},"repo":{"id":72608341,"name":"superherojs","full_name":"ythecombinator/superherojs","owner":{"login":"ythecombinator","id":2644563,"avatar_url":"https://avatars.githubusercontent.com/u/2644563?v=3","gravatar_id":"","url":"https://api.github.com/users/ythecombinator","html_url":"https://github.com/ythecombinator","followers_url":"https://api.github.com/users/ythecombinator/followers","following_url":"https://api.github.com/users/ythecombinator/following{/other_user}","gists_url":"https://api.github.com/users/ythecombinator/gists{/gist_id}","starred_url":"https://api.github.com/users/ythecombinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ythecombinator/subscriptions","organizations_url":"https://api.github.com/users/ythecombinator/orgs","repos_url":"https://api.github.com/users/ythecombinator/repos","events_url":"https://api.github.com/users/ythecombinator/events{/privacy}","received_events_url":"https://api.github.com/users/ythecombinator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ythecombinator/superherojs","description":"Superhero JavaScript","fork":true,"url":"https://api.github.com/repos/ythecombinator/superherojs","forks_url":"https://api.github.com/repos/ythecombinator/superherojs/forks","keys_url":"https://api.github.com/repos/ythecombinator/superherojs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ythecombinator/superherojs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ythecombinator/superherojs/teams","hooks_url":"https://api.github.com/repos/ythecombinator/superherojs/hooks","issue_events_url":"https://api.github.com/repos/ythecombinator/superherojs/issues/events{/number}","events_url":"https://api.github.com/repos/ythecombinator/superherojs/events","assignees_url":"https://api.github.com/repos/ythecombinator/superherojs/assignees{/user}","branches_url":"https://api.github.com/repos/ythecombinator/superherojs/branches{/branch}","tags_url":"https://api.github.com/repos/ythecombinator/superherojs/tags","blobs_url":"https://api.github.com/repos/ythecombinator/superherojs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ythecombinator/superherojs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ythecombinator/superherojs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ythecombinator/superherojs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ythecombinator/superherojs/statuses/{sha}","languages_url":"https://api.github.com/repos/ythecombinator/superherojs/languages","stargazers_url":"https://api.github.com/repos/ythecombinator/superherojs/stargazers","contributors_url":"https://api.github.com/repos/ythecombinator/superherojs/contributors","subscribers_url":"https://api.github.com/repos/ythecombinator/superherojs/subscribers","subscription_url":"https://api.github.com/repos/ythecombinator/superherojs/subscription","commits_url":"https://api.github.com/repos/ythecombinator/superherojs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ythecombinator/superherojs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ythecombinator/superherojs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ythecombinator/superherojs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ythecombinator/superherojs/contents/{+path}","compare_url":"https://api.github.com/repos/ythecombinator/superherojs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ythecombinator/superherojs/merges","archive_url":"https://api.github.com/repos/ythecombinator/superherojs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ythecombinator/superherojs/downloads","issues_url":"https://api.github.com/repos/ythecombinator/superherojs/issues{/number}","pulls_url":"https://api.github.com/repos/ythecombinator/superherojs/pulls{/number}","milestones_url":"https://api.github.com/repos/ythecombinator/superherojs/milestones{/number}","notifications_url":"https://api.github.com/repos/ythecombinator/superherojs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ythecombinator/superherojs/labels{/name}","releases_url":"https://api.github.com/repos/ythecombinator/superherojs/releases{/id}","deployments_url":"https://api.github.com/repos/ythecombinator/superherojs/deployments","created_at":"2016-11-02T05:51:54Z","updated_at":"2016-11-02T05:51:55Z","pushed_at":"2016-11-02T06:06:59Z","git_url":"git://github.com/ythecombinator/superherojs.git","ssh_url":"git@github.com:ythecombinator/superherojs.git","clone_url":"https://github.com/ythecombinator/superherojs.git","svn_url":"https://github.com/ythecombinator/superherojs","homepage":"http://superherojs.com","size":22180,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"superherojs:gh-pages","ref":"gh-pages","sha":"21da0e3f3e92ee5adac922c702073c08708f9d72","user":{"login":"superherojs","id":3884675,"avatar_url":"https://avatars.githubusercontent.com/u/3884675?v=3","gravatar_id":"","url":"https://api.github.com/users/superherojs","html_url":"https://github.com/superherojs","followers_url":"https://api.github.com/users/superherojs/followers","following_url":"https://api.github.com/users/superherojs/following{/other_user}","gists_url":"https://api.github.com/users/superherojs/gists{/gist_id}","starred_url":"https://api.github.com/users/superherojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superherojs/subscriptions","organizations_url":"https://api.github.com/users/superherojs/orgs","repos_url":"https://api.github.com/users/superherojs/repos","events_url":"https://api.github.com/users/superherojs/events{/privacy}","received_events_url":"https://api.github.com/users/superherojs/received_events","type":"Organization","site_admin":false},"repo":{"id":8822274,"name":"superherojs","full_name":"superherojs/superherojs","owner":{"login":"superherojs","id":3884675,"avatar_url":"https://avatars.githubusercontent.com/u/3884675?v=3","gravatar_id":"","url":"https://api.github.com/users/superherojs","html_url":"https://github.com/superherojs","followers_url":"https://api.github.com/users/superherojs/followers","following_url":"https://api.github.com/users/superherojs/following{/other_user}","gists_url":"https://api.github.com/users/superherojs/gists{/gist_id}","starred_url":"https://api.github.com/users/superherojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superherojs/subscriptions","organizations_url":"https://api.github.com/users/superherojs/orgs","repos_url":"https://api.github.com/users/superherojs/repos","events_url":"https://api.github.com/users/superherojs/events{/privacy}","received_events_url":"https://api.github.com/users/superherojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superherojs/superherojs","description":"Superhero JavaScript","fork":false,"url":"https://api.github.com/repos/superherojs/superherojs","forks_url":"https://api.github.com/repos/superherojs/superherojs/forks","keys_url":"https://api.github.com/repos/superherojs/superherojs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superherojs/superherojs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superherojs/superherojs/teams","hooks_url":"https://api.github.com/repos/superherojs/superherojs/hooks","issue_events_url":"https://api.github.com/repos/superherojs/superherojs/issues/events{/number}","events_url":"https://api.github.com/repos/superherojs/superherojs/events","assignees_url":"https://api.github.com/repos/superherojs/superherojs/assignees{/user}","branches_url":"https://api.github.com/repos/superherojs/superherojs/branches{/branch}","tags_url":"https://api.github.com/repos/superherojs/superherojs/tags","blobs_url":"https://api.github.com/repos/superherojs/superherojs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superherojs/superherojs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superherojs/superherojs/git/refs{/sha}","trees_url":"https://api.github.com/repos/superherojs/superherojs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superherojs/superherojs/statuses/{sha}","languages_url":"https://api.github.com/repos/superherojs/superherojs/languages","stargazers_url":"https://api.github.com/repos/superherojs/superherojs/stargazers","contributors_url":"https://api.github.com/repos/superherojs/superherojs/contributors","subscribers_url":"https://api.github.com/repos/superherojs/superherojs/subscribers","subscription_url":"https://api.github.com/repos/superherojs/superherojs/subscription","commits_url":"https://api.github.com/repos/superherojs/superherojs/commits{/sha}","git_commits_url":"https://api.github.com/repos/superherojs/superherojs/git/commits{/sha}","comments_url":"https://api.github.com/repos/superherojs/superherojs/comments{/number}","issue_comment_url":"https://api.github.com/repos/superherojs/superherojs/issues/comments{/number}","contents_url":"https://api.github.com/repos/superherojs/superherojs/contents/{+path}","compare_url":"https://api.github.com/repos/superherojs/superherojs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superherojs/superherojs/merges","archive_url":"https://api.github.com/repos/superherojs/superherojs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superherojs/superherojs/downloads","issues_url":"https://api.github.com/repos/superherojs/superherojs/issues{/number}","pulls_url":"https://api.github.com/repos/superherojs/superherojs/pulls{/number}","milestones_url":"https://api.github.com/repos/superherojs/superherojs/milestones{/number}","notifications_url":"https://api.github.com/repos/superherojs/superherojs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superherojs/superherojs/labels{/name}","releases_url":"https://api.github.com/repos/superherojs/superherojs/releases{/id}","deployments_url":"https://api.github.com/repos/superherojs/superherojs/deployments","created_at":"2013-03-16T17:11:55Z","updated_at":"2016-11-01T22:55:26Z","pushed_at":"2016-11-02T06:24:39Z","git_url":"git://github.com/superherojs/superherojs.git","ssh_url":"git@github.com:superherojs/superherojs.git","clone_url":"https://github.com/superherojs/superherojs.git","svn_url":"https://github.com/superherojs/superherojs","homepage":"http://superherojs.com","size":22180,"stargazers_count":1703,"watchers_count":1703,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":119,"mirror_url":null,"open_issues_count":17,"forks":119,"open_issues":17,"watchers":1703,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/superherojs/superherojs/pulls/74"},"html":{"href":"https://github.com/superherojs/superherojs/pull/74"},"issue":{"href":"https://api.github.com/repos/superherojs/superherojs/issues/74"},"comments":{"href":"https://api.github.com/repos/superherojs/superherojs/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/superherojs/superherojs/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/superherojs/superherojs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superherojs/superherojs/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/superherojs/superherojs/statuses/ad1ab409de756d4e798f02608d8415f26acde6d2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ythecombinator"}}