{"action":"created","comment":{"url":"https://api.github.com/repos/donejs/bitballs/pulls/comments/57322837","id":57322837,"diff_hunk":"@@ -0,0 +1,17 @@\n+module.exports = function(docMap, config, getCurrent){\n+\treturn {\n+\t\tifValidSource: function (src, options) {\n+\t\t    if (src && config.source){\n+\t\t        return options.fn(this);\n+\t\t    }else{\n+\t\t        return options.inverse(this);\n+\t\t    }\n+\t\t},\n+\t\turlSource: function(src, options){\n+\t\t\tvar source = getCurrent().source;\n+\n+\t\t\tconsole.log(source, src);","path":"theme/templates/helpers.js","position":null,"original_position":13,"commit_id":"eec011f63ccfc2720cb8710413b6d35152ef6e8e","original_commit_id":"25d1431be47d114670c3df5eda4986054adb2d6a","user":{"login":"jandjorgensen","id":412362,"avatar_url":"https://avatars.githubusercontent.com/u/412362?v=3","gravatar_id":"","url":"https://api.github.com/users/jandjorgensen","html_url":"https://github.com/jandjorgensen","followers_url":"https://api.github.com/users/jandjorgensen/followers","following_url":"https://api.github.com/users/jandjorgensen/following{/other_user}","gists_url":"https://api.github.com/users/jandjorgensen/gists{/gist_id}","starred_url":"https://api.github.com/users/jandjorgensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandjorgensen/subscriptions","organizations_url":"https://api.github.com/users/jandjorgensen/orgs","repos_url":"https://api.github.com/users/jandjorgensen/repos","events_url":"https://api.github.com/users/jandjorgensen/events{/privacy}","received_events_url":"https://api.github.com/users/jandjorgensen/received_events","type":"User","site_admin":false},"body":"Whoops!","created_at":"2016-03-24T14:21:01Z","updated_at":"2016-03-24T14:21:01Z","html_url":"https://github.com/donejs/bitballs/pull/241#discussion_r57322837","pull_request_url":"https://api.github.com/repos/donejs/bitballs/pulls/241","_links":{"self":{"href":"https://api.github.com/repos/donejs/bitballs/pulls/comments/57322837"},"html":{"href":"https://github.com/donejs/bitballs/pull/241#discussion_r57322837"},"pull_request":{"href":"https://api.github.com/repos/donejs/bitballs/pulls/241"}}},"pull_request":{"url":"https://api.github.com/repos/donejs/bitballs/pulls/241","id":64038353,"html_url":"https://github.com/donejs/bitballs/pull/241","diff_url":"https://github.com/donejs/bitballs/pull/241.diff","patch_url":"https://github.com/donejs/bitballs/pull/241.patch","issue_url":"https://api.github.com/repos/donejs/bitballs/issues/241","number":241,"state":"open","locked":false,"title":"Adds source to docs","user":{"login":"jandjorgensen","id":412362,"avatar_url":"https://avatars.githubusercontent.com/u/412362?v=3","gravatar_id":"","url":"https://api.github.com/users/jandjorgensen","html_url":"https://github.com/jandjorgensen","followers_url":"https://api.github.com/users/jandjorgensen/followers","following_url":"https://api.github.com/users/jandjorgensen/following{/other_user}","gists_url":"https://api.github.com/users/jandjorgensen/gists{/gist_id}","starred_url":"https://api.github.com/users/jandjorgensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandjorgensen/subscriptions","organizations_url":"https://api.github.com/users/jandjorgensen/orgs","repos_url":"https://api.github.com/users/jandjorgensen/repos","events_url":"https://api.github.com/users/jandjorgensen/events{/privacy}","received_events_url":"https://api.github.com/users/jandjorgensen/received_events","type":"User","site_admin":false},"body":"Adds source to docs","created_at":"2016-03-24T14:07:36Z","updated_at":"2016-03-24T14:21:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21470f760264c6c7d56686b1eeb890aa5497493a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/donejs/bitballs/pulls/241/commits","review_comments_url":"https://api.github.com/repos/donejs/bitballs/pulls/241/comments","review_comment_url":"https://api.github.com/repos/donejs/bitballs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/donejs/bitballs/issues/241/comments","statuses_url":"https://api.github.com/repos/donejs/bitballs/statuses/eec011f63ccfc2720cb8710413b6d35152ef6e8e","head":{"label":"donejs:add-source-to-docs","ref":"add-source-to-docs","sha":"eec011f63ccfc2720cb8710413b6d35152ef6e8e","user":{"login":"donejs","id":8229389,"avatar_url":"https://avatars.githubusercontent.com/u/8229389?v=3","gravatar_id":"","url":"https://api.github.com/users/donejs","html_url":"https://github.com/donejs","followers_url":"https://api.github.com/users/donejs/followers","following_url":"https://api.github.com/users/donejs/following{/other_user}","gists_url":"https://api.github.com/users/donejs/gists{/gist_id}","starred_url":"https://api.github.com/users/donejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donejs/subscriptions","organizations_url":"https://api.github.com/users/donejs/orgs","repos_url":"https://api.github.com/users/donejs/repos","events_url":"https://api.github.com/users/donejs/events{/privacy}","received_events_url":"https://api.github.com/users/donejs/received_events","type":"Organization","site_admin":false},"repo":{"id":39485259,"name":"bitballs","full_name":"donejs/bitballs","owner":{"login":"donejs","id":8229389,"avatar_url":"https://avatars.githubusercontent.com/u/8229389?v=3","gravatar_id":"","url":"https://api.github.com/users/donejs","html_url":"https://github.com/donejs","followers_url":"https://api.github.com/users/donejs/followers","following_url":"https://api.github.com/users/donejs/following{/other_user}","gists_url":"https://api.github.com/users/donejs/gists{/gist_id}","starred_url":"https://api.github.com/users/donejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donejs/subscriptions","organizations_url":"https://api.github.com/users/donejs/orgs","repos_url":"https://api.github.com/users/donejs/repos","events_url":"https://api.github.com/users/donejs/events{/privacy}","received_events_url":"https://api.github.com/users/donejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/donejs/bitballs","description":"A basketball tourney application.","fork":false,"url":"https://api.github.com/repos/donejs/bitballs","forks_url":"https://api.github.com/repos/donejs/bitballs/forks","keys_url":"https://api.github.com/repos/donejs/bitballs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donejs/bitballs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donejs/bitballs/teams","hooks_url":"https://api.github.com/repos/donejs/bitballs/hooks","issue_events_url":"https://api.github.com/repos/donejs/bitballs/issues/events{/number}","events_url":"https://api.github.com/repos/donejs/bitballs/events","assignees_url":"https://api.github.com/repos/donejs/bitballs/assignees{/user}","branches_url":"https://api.github.com/repos/donejs/bitballs/branches{/branch}","tags_url":"https://api.github.com/repos/donejs/bitballs/tags","blobs_url":"https://api.github.com/repos/donejs/bitballs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donejs/bitballs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donejs/bitballs/git/refs{/sha}","trees_url":"https://api.github.com/repos/donejs/bitballs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donejs/bitballs/statuses/{sha}","languages_url":"https://api.github.com/repos/donejs/bitballs/languages","stargazers_url":"https://api.github.com/repos/donejs/bitballs/stargazers","contributors_url":"https://api.github.com/repos/donejs/bitballs/contributors","subscribers_url":"https://api.github.com/repos/donejs/bitballs/subscribers","subscription_url":"https://api.github.com/repos/donejs/bitballs/subscription","commits_url":"https://api.github.com/repos/donejs/bitballs/commits{/sha}","git_commits_url":"https://api.github.com/repos/donejs/bitballs/git/commits{/sha}","comments_url":"https://api.github.com/repos/donejs/bitballs/comments{/number}","issue_comment_url":"https://api.github.com/repos/donejs/bitballs/issues/comments{/number}","contents_url":"https://api.github.com/repos/donejs/bitballs/contents/{+path}","compare_url":"https://api.github.com/repos/donejs/bitballs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donejs/bitballs/merges","archive_url":"https://api.github.com/repos/donejs/bitballs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donejs/bitballs/downloads","issues_url":"https://api.github.com/repos/donejs/bitballs/issues{/number}","pulls_url":"https://api.github.com/repos/donejs/bitballs/pulls{/number}","milestones_url":"https://api.github.com/repos/donejs/bitballs/milestones{/number}","notifications_url":"https://api.github.com/repos/donejs/bitballs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donejs/bitballs/labels{/name}","releases_url":"https://api.github.com/repos/donejs/bitballs/releases{/id}","deployments_url":"https://api.github.com/repos/donejs/bitballs/deployments","created_at":"2015-07-22T04:18:47Z","updated_at":"2016-01-28T15:22:40Z","pushed_at":"2016-03-24T14:20:50Z","git_url":"git://github.com/donejs/bitballs.git","ssh_url":"git@github.com:donejs/bitballs.git","clone_url":"https://github.com/donejs/bitballs.git","svn_url":"https://github.com/donejs/bitballs","homepage":null,"size":6890,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":23,"forks":2,"open_issues":23,"watchers":1,"default_branch":"master"}},"base":{"label":"donejs:staging","ref":"staging","sha":"d16a77cd09da8c375d22903b50819df9b5791244","user":{"login":"donejs","id":8229389,"avatar_url":"https://avatars.githubusercontent.com/u/8229389?v=3","gravatar_id":"","url":"https://api.github.com/users/donejs","html_url":"https://github.com/donejs","followers_url":"https://api.github.com/users/donejs/followers","following_url":"https://api.github.com/users/donejs/following{/other_user}","gists_url":"https://api.github.com/users/donejs/gists{/gist_id}","starred_url":"https://api.github.com/users/donejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donejs/subscriptions","organizations_url":"https://api.github.com/users/donejs/orgs","repos_url":"https://api.github.com/users/donejs/repos","events_url":"https://api.github.com/users/donejs/events{/privacy}","received_events_url":"https://api.github.com/users/donejs/received_events","type":"Organization","site_admin":false},"repo":{"id":39485259,"name":"bitballs","full_name":"donejs/bitballs","owner":{"login":"donejs","id":8229389,"avatar_url":"https://avatars.githubusercontent.com/u/8229389?v=3","gravatar_id":"","url":"https://api.github.com/users/donejs","html_url":"https://github.com/donejs","followers_url":"https://api.github.com/users/donejs/followers","following_url":"https://api.github.com/users/donejs/following{/other_user}","gists_url":"https://api.github.com/users/donejs/gists{/gist_id}","starred_url":"https://api.github.com/users/donejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donejs/subscriptions","organizations_url":"https://api.github.com/users/donejs/orgs","repos_url":"https://api.github.com/users/donejs/repos","events_url":"https://api.github.com/users/donejs/events{/privacy}","received_events_url":"https://api.github.com/users/donejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/donejs/bitballs","description":"A basketball tourney application.","fork":false,"url":"https://api.github.com/repos/donejs/bitballs","forks_url":"https://api.github.com/repos/donejs/bitballs/forks","keys_url":"https://api.github.com/repos/donejs/bitballs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donejs/bitballs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donejs/bitballs/teams","hooks_url":"https://api.github.com/repos/donejs/bitballs/hooks","issue_events_url":"https://api.github.com/repos/donejs/bitballs/issues/events{/number}","events_url":"https://api.github.com/repos/donejs/bitballs/events","assignees_url":"https://api.github.com/repos/donejs/bitballs/assignees{/user}","branches_url":"https://api.github.com/repos/donejs/bitballs/branches{/branch}","tags_url":"https://api.github.com/repos/donejs/bitballs/tags","blobs_url":"https://api.github.com/repos/donejs/bitballs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donejs/bitballs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donejs/bitballs/git/refs{/sha}","trees_url":"https://api.github.com/repos/donejs/bitballs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donejs/bitballs/statuses/{sha}","languages_url":"https://api.github.com/repos/donejs/bitballs/languages","stargazers_url":"https://api.github.com/repos/donejs/bitballs/stargazers","contributors_url":"https://api.github.com/repos/donejs/bitballs/contributors","subscribers_url":"https://api.github.com/repos/donejs/bitballs/subscribers","subscription_url":"https://api.github.com/repos/donejs/bitballs/subscription","commits_url":"https://api.github.com/repos/donejs/bitballs/commits{/sha}","git_commits_url":"https://api.github.com/repos/donejs/bitballs/git/commits{/sha}","comments_url":"https://api.github.com/repos/donejs/bitballs/comments{/number}","issue_comment_url":"https://api.github.com/repos/donejs/bitballs/issues/comments{/number}","contents_url":"https://api.github.com/repos/donejs/bitballs/contents/{+path}","compare_url":"https://api.github.com/repos/donejs/bitballs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donejs/bitballs/merges","archive_url":"https://api.github.com/repos/donejs/bitballs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donejs/bitballs/downloads","issues_url":"https://api.github.com/repos/donejs/bitballs/issues{/number}","pulls_url":"https://api.github.com/repos/donejs/bitballs/pulls{/number}","milestones_url":"https://api.github.com/repos/donejs/bitballs/milestones{/number}","notifications_url":"https://api.github.com/repos/donejs/bitballs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donejs/bitballs/labels{/name}","releases_url":"https://api.github.com/repos/donejs/bitballs/releases{/id}","deployments_url":"https://api.github.com/repos/donejs/bitballs/deployments","created_at":"2015-07-22T04:18:47Z","updated_at":"2016-01-28T15:22:40Z","pushed_at":"2016-03-24T14:20:50Z","git_url":"git://github.com/donejs/bitballs.git","ssh_url":"git@github.com:donejs/bitballs.git","clone_url":"https://github.com/donejs/bitballs.git","svn_url":"https://github.com/donejs/bitballs","homepage":null,"size":6890,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":23,"forks":2,"open_issues":23,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/donejs/bitballs/pulls/241"},"html":{"href":"https://github.com/donejs/bitballs/pull/241"},"issue":{"href":"https://api.github.com/repos/donejs/bitballs/issues/241"},"comments":{"href":"https://api.github.com/repos/donejs/bitballs/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/donejs/bitballs/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/donejs/bitballs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/donejs/bitballs/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/donejs/bitballs/statuses/eec011f63ccfc2720cb8710413b6d35152ef6e8e"}}}}