{"action":"closed","number":306,"pull_request":{"url":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/306","id":30022406,"html_url":"https://github.com/marionettejs/marionettejs.com/pull/306","diff_url":"https://github.com/marionettejs/marionettejs.com/pull/306.diff","patch_url":"https://github.com/marionettejs/marionettejs.com/pull/306.patch","issue_url":"https://api.github.com/repos/marionettejs/marionettejs.com/issues/306","number":306,"state":"closed","locked":false,"title":"Add safety check to code block. Fixes #302","user":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"body":"This PR quickly patches a client code that needs to be refactored (restructured) further. We just prevents from runtime errors.\r\nOnly this one safety check is required in entire block code\r\nThe rest of code gracefully fails though eats some CPU cycles\r\nIt will be refactored shortly","created_at":"2015-02-25T20:30:06Z","updated_at":"2015-02-25T20:30:24Z","closed_at":"2015-02-25T20:30:24Z","merged_at":"2015-02-25T20:30:24Z","merge_commit_sha":"0ab8cbcf5142c3c4ef2eb8048a9ef4dc725366b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/306/commits","review_comments_url":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/306/comments","review_comment_url":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marionettejs/marionettejs.com/issues/306/comments","statuses_url":"https://api.github.com/repos/marionettejs/marionettejs.com/statuses/fe62358ba40cf34e5fd44afe35356e06f2bf7e09","head":{"label":"peterblazejewicz:fix/302","ref":"fix/302","sha":"fe62358ba40cf34e5fd44afe35356e06f2bf7e09","user":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"repo":{"id":29055990,"name":"marionettejs.com","full_name":"peterblazejewicz/marionettejs.com","owner":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterblazejewicz/marionettejs.com","description":"Source files for the Marionette site","fork":true,"url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com","forks_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/forks","keys_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/teams","hooks_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/hooks","issue_events_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/issues/events{/number}","events_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/events","assignees_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/assignees{/user}","branches_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/branches{/branch}","tags_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/tags","blobs_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/statuses/{sha}","languages_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/languages","stargazers_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/stargazers","contributors_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/contributors","subscribers_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/subscribers","subscription_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/subscription","commits_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/contents/{+path}","compare_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/merges","archive_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/downloads","issues_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/issues{/number}","pulls_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/pulls{/number}","milestones_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/milestones{/number}","notifications_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/labels{/name}","releases_url":"https://api.github.com/repos/peterblazejewicz/marionettejs.com/releases{/id}","created_at":"2015-01-10T12:05:37Z","updated_at":"2015-02-24T22:50:13Z","pushed_at":"2015-02-25T20:28:20Z","git_url":"git://github.com/peterblazejewicz/marionettejs.com.git","ssh_url":"git@github.com:peterblazejewicz/marionettejs.com.git","clone_url":"https://github.com/peterblazejewicz/marionettejs.com.git","svn_url":"https://github.com/peterblazejewicz/marionettejs.com","homepage":"http://marionettejs.com","size":12929,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"marionettejs:master","ref":"master","sha":"980ccaae7b5602345ea220d3cc886e33400a13a0","user":{"login":"marionettejs","id":2273169,"avatar_url":"https://avatars.githubusercontent.com/u/2273169?v=3","gravatar_id":"","url":"https://api.github.com/users/marionettejs","html_url":"https://github.com/marionettejs","followers_url":"https://api.github.com/users/marionettejs/followers","following_url":"https://api.github.com/users/marionettejs/following{/other_user}","gists_url":"https://api.github.com/users/marionettejs/gists{/gist_id}","starred_url":"https://api.github.com/users/marionettejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marionettejs/subscriptions","organizations_url":"https://api.github.com/users/marionettejs/orgs","repos_url":"https://api.github.com/users/marionettejs/repos","events_url":"https://api.github.com/users/marionettejs/events{/privacy}","received_events_url":"https://api.github.com/users/marionettejs/received_events","type":"Organization","site_admin":false},"repo":{"id":21595155,"name":"marionettejs.com","full_name":"marionettejs/marionettejs.com","owner":{"login":"marionettejs","id":2273169,"avatar_url":"https://avatars.githubusercontent.com/u/2273169?v=3","gravatar_id":"","url":"https://api.github.com/users/marionettejs","html_url":"https://github.com/marionettejs","followers_url":"https://api.github.com/users/marionettejs/followers","following_url":"https://api.github.com/users/marionettejs/following{/other_user}","gists_url":"https://api.github.com/users/marionettejs/gists{/gist_id}","starred_url":"https://api.github.com/users/marionettejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marionettejs/subscriptions","organizations_url":"https://api.github.com/users/marionettejs/orgs","repos_url":"https://api.github.com/users/marionettejs/repos","events_url":"https://api.github.com/users/marionettejs/events{/privacy}","received_events_url":"https://api.github.com/users/marionettejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/marionettejs/marionettejs.com","description":"Source files for the Marionette site","fork":false,"url":"https://api.github.com/repos/marionettejs/marionettejs.com","forks_url":"https://api.github.com/repos/marionettejs/marionettejs.com/forks","keys_url":"https://api.github.com/repos/marionettejs/marionettejs.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marionettejs/marionettejs.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marionettejs/marionettejs.com/teams","hooks_url":"https://api.github.com/repos/marionettejs/marionettejs.com/hooks","issue_events_url":"https://api.github.com/repos/marionettejs/marionettejs.com/issues/events{/number}","events_url":"https://api.github.com/repos/marionettejs/marionettejs.com/events","assignees_url":"https://api.github.com/repos/marionettejs/marionettejs.com/assignees{/user}","branches_url":"https://api.github.com/repos/marionettejs/marionettejs.com/branches{/branch}","tags_url":"https://api.github.com/repos/marionettejs/marionettejs.com/tags","blobs_url":"https://api.github.com/repos/marionettejs/marionettejs.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marionettejs/marionettejs.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marionettejs/marionettejs.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/marionettejs/marionettejs.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marionettejs/marionettejs.com/statuses/{sha}","languages_url":"https://api.github.com/repos/marionettejs/marionettejs.com/languages","stargazers_url":"https://api.github.com/repos/marionettejs/marionettejs.com/stargazers","contributors_url":"https://api.github.com/repos/marionettejs/marionettejs.com/contributors","subscribers_url":"https://api.github.com/repos/marionettejs/marionettejs.com/subscribers","subscription_url":"https://api.github.com/repos/marionettejs/marionettejs.com/subscription","commits_url":"https://api.github.com/repos/marionettejs/marionettejs.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/marionettejs/marionettejs.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/marionettejs/marionettejs.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/marionettejs/marionettejs.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/marionettejs/marionettejs.com/contents/{+path}","compare_url":"https://api.github.com/repos/marionettejs/marionettejs.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marionettejs/marionettejs.com/merges","archive_url":"https://api.github.com/repos/marionettejs/marionettejs.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marionettejs/marionettejs.com/downloads","issues_url":"https://api.github.com/repos/marionettejs/marionettejs.com/issues{/number}","pulls_url":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls{/number}","milestones_url":"https://api.github.com/repos/marionettejs/marionettejs.com/milestones{/number}","notifications_url":"https://api.github.com/repos/marionettejs/marionettejs.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marionettejs/marionettejs.com/labels{/name}","releases_url":"https://api.github.com/repos/marionettejs/marionettejs.com/releases{/id}","created_at":"2014-07-08T02:30:12Z","updated_at":"2015-02-24T22:49:17Z","pushed_at":"2015-02-25T20:30:24Z","git_url":"git://github.com/marionettejs/marionettejs.com.git","ssh_url":"git@github.com:marionettejs/marionettejs.com.git","clone_url":"https://github.com/marionettejs/marionettejs.com.git","svn_url":"https://github.com/marionettejs/marionettejs.com","homepage":"http://marionettejs.com","size":14879,"stargazers_count":9,"watchers_count":9,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":55,"forks":16,"open_issues":55,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/306"},"html":{"href":"https://github.com/marionettejs/marionettejs.com/pull/306"},"issue":{"href":"https://api.github.com/repos/marionettejs/marionettejs.com/issues/306"},"comments":{"href":"https://api.github.com/repos/marionettejs/marionettejs.com/issues/306/comments"},"review_comments":{"href":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/306/comments"},"review_comment":{"href":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marionettejs/marionettejs.com/pulls/306/commits"},"statuses":{"href":"https://api.github.com/repos/marionettejs/marionettejs.com/statuses/fe62358ba40cf34e5fd44afe35356e06f2bf7e09"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}