{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/18","id":50709707,"html_url":"https://github.com/cloudfour/core-hbs-helpers/pull/18","diff_url":"https://github.com/cloudfour/core-hbs-helpers/pull/18.diff","patch_url":"https://github.com/cloudfour/core-hbs-helpers/pull/18.patch","issue_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/18","number":18,"state":"open","locked":false,"title":"Feature: defaultTo helper","user":{"login":"erikjung","id":61204,"avatar_url":"https://avatars.githubusercontent.com/u/61204?v=3","gravatar_id":"","url":"https://api.github.com/users/erikjung","html_url":"https://github.com/erikjung","followers_url":"https://api.github.com/users/erikjung/followers","following_url":"https://api.github.com/users/erikjung/following{/other_user}","gists_url":"https://api.github.com/users/erikjung/gists{/gist_id}","starred_url":"https://api.github.com/users/erikjung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikjung/subscriptions","organizations_url":"https://api.github.com/users/erikjung/orgs","repos_url":"https://api.github.com/users/erikjung/repos","events_url":"https://api.github.com/users/erikjung/events{/privacy}","received_events_url":"https://api.github.com/users/erikjung/received_events","type":"User","site_admin":false},"body":"This adds a new helper to handle the common case of doing something like:\n\n```hbs\n{{if value}}{{value}}{{else}}default{{/if}}\n```\n\nUsing the helper:\n\n```hbs\n{{defaultTo value \"default\"}}\n```","created_at":"2015-11-14T00:37:17Z","updated_at":"2015-11-14T00:37:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/18/commits","review_comments_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/18/comments","review_comment_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/18/comments","statuses_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/statuses/ea6cf31ec7cd8bfc8d91cae6186583e681e1c4ec","head":{"label":"cloudfour:feat-default_helper","ref":"feat-default_helper","sha":"ea6cf31ec7cd8bfc8d91cae6186583e681e1c4ec","user":{"login":"cloudfour","id":1273956,"avatar_url":"https://avatars.githubusercontent.com/u/1273956?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfour","html_url":"https://github.com/cloudfour","followers_url":"https://api.github.com/users/cloudfour/followers","following_url":"https://api.github.com/users/cloudfour/following{/other_user}","gists_url":"https://api.github.com/users/cloudfour/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfour/subscriptions","organizations_url":"https://api.github.com/users/cloudfour/orgs","repos_url":"https://api.github.com/users/cloudfour/repos","events_url":"https://api.github.com/users/cloudfour/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfour/received_events","type":"Organization","site_admin":false},"repo":{"id":44626637,"name":"core-hbs-helpers","full_name":"cloudfour/core-hbs-helpers","owner":{"login":"cloudfour","id":1273956,"avatar_url":"https://avatars.githubusercontent.com/u/1273956?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfour","html_url":"https://github.com/cloudfour","followers_url":"https://api.github.com/users/cloudfour/followers","following_url":"https://api.github.com/users/cloudfour/following{/other_user}","gists_url":"https://api.github.com/users/cloudfour/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfour/subscriptions","organizations_url":"https://api.github.com/users/cloudfour/orgs","repos_url":"https://api.github.com/users/cloudfour/repos","events_url":"https://api.github.com/users/cloudfour/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfour/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfour/core-hbs-helpers","description":"Handlebars helpers that we usually need","fork":false,"url":"https://api.github.com/repos/cloudfour/core-hbs-helpers","forks_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/forks","keys_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/teams","hooks_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/hooks","issue_events_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/events","assignees_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/tags","blobs_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/languages","stargazers_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/stargazers","contributors_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/contributors","subscribers_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/subscribers","subscription_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/subscription","commits_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/merges","archive_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/downloads","issues_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/labels{/name}","releases_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/releases{/id}","created_at":"2015-10-20T18:29:07Z","updated_at":"2015-10-20T23:11:33Z","pushed_at":"2015-11-14T00:37:17Z","git_url":"git://github.com/cloudfour/core-hbs-helpers.git","ssh_url":"git@github.com:cloudfour/core-hbs-helpers.git","clone_url":"https://github.com/cloudfour/core-hbs-helpers.git","svn_url":"https://github.com/cloudfour/core-hbs-helpers","homepage":"","size":288,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudfour:master","ref":"master","sha":"e77e2f2ee9c11531d62c7ff011280a9f0eddc8bb","user":{"login":"cloudfour","id":1273956,"avatar_url":"https://avatars.githubusercontent.com/u/1273956?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfour","html_url":"https://github.com/cloudfour","followers_url":"https://api.github.com/users/cloudfour/followers","following_url":"https://api.github.com/users/cloudfour/following{/other_user}","gists_url":"https://api.github.com/users/cloudfour/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfour/subscriptions","organizations_url":"https://api.github.com/users/cloudfour/orgs","repos_url":"https://api.github.com/users/cloudfour/repos","events_url":"https://api.github.com/users/cloudfour/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfour/received_events","type":"Organization","site_admin":false},"repo":{"id":44626637,"name":"core-hbs-helpers","full_name":"cloudfour/core-hbs-helpers","owner":{"login":"cloudfour","id":1273956,"avatar_url":"https://avatars.githubusercontent.com/u/1273956?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfour","html_url":"https://github.com/cloudfour","followers_url":"https://api.github.com/users/cloudfour/followers","following_url":"https://api.github.com/users/cloudfour/following{/other_user}","gists_url":"https://api.github.com/users/cloudfour/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfour/subscriptions","organizations_url":"https://api.github.com/users/cloudfour/orgs","repos_url":"https://api.github.com/users/cloudfour/repos","events_url":"https://api.github.com/users/cloudfour/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfour/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfour/core-hbs-helpers","description":"Handlebars helpers that we usually need","fork":false,"url":"https://api.github.com/repos/cloudfour/core-hbs-helpers","forks_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/forks","keys_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/teams","hooks_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/hooks","issue_events_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/events","assignees_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/tags","blobs_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/languages","stargazers_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/stargazers","contributors_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/contributors","subscribers_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/subscribers","subscription_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/subscription","commits_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/merges","archive_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/downloads","issues_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/labels{/name}","releases_url":"https://api.github.com/repos/cloudfour/core-hbs-helpers/releases{/id}","created_at":"2015-10-20T18:29:07Z","updated_at":"2015-10-20T23:11:33Z","pushed_at":"2015-11-14T00:37:17Z","git_url":"git://github.com/cloudfour/core-hbs-helpers.git","ssh_url":"git@github.com:cloudfour/core-hbs-helpers.git","clone_url":"https://github.com/cloudfour/core-hbs-helpers.git","svn_url":"https://github.com/cloudfour/core-hbs-helpers","homepage":"","size":288,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/18"},"html":{"href":"https://github.com/cloudfour/core-hbs-helpers/pull/18"},"issue":{"href":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/18"},"comments":{"href":"https://api.github.com/repos/cloudfour/core-hbs-helpers/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudfour/core-hbs-helpers/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/cloudfour/core-hbs-helpers/statuses/ea6cf31ec7cd8bfc8d91cae6186583e681e1c4ec"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":57,"deletions":0,"changed_files":2}}