{"action":"created","comment":{"url":"https://api.github.com/repos/Dallinger/Dallinger/pulls/comments/78603524","id":78603524,"diff_hunk":"@@ -21,9 +21,9 @@ create_agent = function() {\n         },\n         error: function (err) {\n             console.log(err);\n-            err_response = JSON.parse(err.response);\n-            if (err_response.hasOwnProperty('html')) {\n-                $('body').html(err_response.html);\n+            errorResponse = JSON.parse(err.response);","path":"demos/sheep-market/static/scripts/experiment.js","position":7,"original_position":7,"commit_id":"ea882ecfd6987ffbdf34abb51c5bdd1b2b3f8336","original_commit_id":"ea882ecfd6987ffbdf34abb51c5bdd1b2b3f8336","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'errorResponse' is not defined.","created_at":"2016-09-13T17:13:52Z","updated_at":"2016-09-13T17:13:52Z","html_url":"https://github.com/Dallinger/Dallinger/pull/77#discussion_r78603524","pull_request_url":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/Dallinger/Dallinger/pulls/comments/78603524"},"html":{"href":"https://github.com/Dallinger/Dallinger/pull/77#discussion_r78603524"},"pull_request":{"href":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77","id":84798219,"html_url":"https://github.com/Dallinger/Dallinger/pull/77","diff_url":"https://github.com/Dallinger/Dallinger/pull/77.diff","patch_url":"https://github.com/Dallinger/Dallinger/pull/77.patch","issue_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/77","number":77,"state":"open","locked":false,"title":"Improve questionnaire submission","user":{"login":"suchow","id":613981,"avatar_url":"https://avatars.githubusercontent.com/u/613981?v=3","gravatar_id":"","url":"https://api.github.com/users/suchow","html_url":"https://github.com/suchow","followers_url":"https://api.github.com/users/suchow/followers","following_url":"https://api.github.com/users/suchow/following{/other_user}","gists_url":"https://api.github.com/users/suchow/gists{/gist_id}","starred_url":"https://api.github.com/users/suchow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suchow/subscriptions","organizations_url":"https://api.github.com/users/suchow/orgs","repos_url":"https://api.github.com/users/suchow/repos","events_url":"https://api.github.com/users/suchow/events{/privacy}","received_events_url":"https://api.github.com/users/suchow/received_events","type":"User","site_admin":false},"body":"This moves all questionnaire submission code into the centralized\r\ndallinger.js library. Furthermore, it uses a recursive function instead\r\nof hard-coding all the questions.\r\n\r\nFixes #76.","created_at":"2016-09-11T21:10:16Z","updated_at":"2016-09-13T17:13:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85a8c7eec78c13af91ed799754d0d0e5e8cf8417","assignee":{"login":"thomasmorgan","id":8507889,"avatar_url":"https://avatars.githubusercontent.com/u/8507889?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasmorgan","html_url":"https://github.com/thomasmorgan","followers_url":"https://api.github.com/users/thomasmorgan/followers","following_url":"https://api.github.com/users/thomasmorgan/following{/other_user}","gists_url":"https://api.github.com/users/thomasmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasmorgan/subscriptions","organizations_url":"https://api.github.com/users/thomasmorgan/orgs","repos_url":"https://api.github.com/users/thomasmorgan/repos","events_url":"https://api.github.com/users/thomasmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/thomasmorgan/received_events","type":"User","site_admin":false},"assignees":[{"login":"thomasmorgan","id":8507889,"avatar_url":"https://avatars.githubusercontent.com/u/8507889?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasmorgan","html_url":"https://github.com/thomasmorgan","followers_url":"https://api.github.com/users/thomasmorgan/followers","following_url":"https://api.github.com/users/thomasmorgan/following{/other_user}","gists_url":"https://api.github.com/users/thomasmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasmorgan/subscriptions","organizations_url":"https://api.github.com/users/thomasmorgan/orgs","repos_url":"https://api.github.com/users/thomasmorgan/repos","events_url":"https://api.github.com/users/thomasmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/thomasmorgan/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77/commits","review_comments_url":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77/comments","review_comment_url":"https://api.github.com/repos/Dallinger/Dallinger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/77/comments","statuses_url":"https://api.github.com/repos/Dallinger/Dallinger/statuses/ea882ecfd6987ffbdf34abb51c5bdd1b2b3f8336","head":{"label":"Dallinger:questionnaire-js","ref":"questionnaire-js","sha":"ea882ecfd6987ffbdf34abb51c5bdd1b2b3f8336","user":{"login":"Dallinger","id":19244232,"avatar_url":"https://avatars.githubusercontent.com/u/19244232?v=3","gravatar_id":"","url":"https://api.github.com/users/Dallinger","html_url":"https://github.com/Dallinger","followers_url":"https://api.github.com/users/Dallinger/followers","following_url":"https://api.github.com/users/Dallinger/following{/other_user}","gists_url":"https://api.github.com/users/Dallinger/gists{/gist_id}","starred_url":"https://api.github.com/users/Dallinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dallinger/subscriptions","organizations_url":"https://api.github.com/users/Dallinger/orgs","repos_url":"https://api.github.com/users/Dallinger/repos","events_url":"https://api.github.com/users/Dallinger/events{/privacy}","received_events_url":"https://api.github.com/users/Dallinger/received_events","type":"Organization","site_admin":false},"repo":{"id":67452779,"name":"Dallinger","full_name":"Dallinger/Dallinger","owner":{"login":"Dallinger","id":19244232,"avatar_url":"https://avatars.githubusercontent.com/u/19244232?v=3","gravatar_id":"","url":"https://api.github.com/users/Dallinger","html_url":"https://github.com/Dallinger","followers_url":"https://api.github.com/users/Dallinger/followers","following_url":"https://api.github.com/users/Dallinger/following{/other_user}","gists_url":"https://api.github.com/users/Dallinger/gists{/gist_id}","starred_url":"https://api.github.com/users/Dallinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dallinger/subscriptions","organizations_url":"https://api.github.com/users/Dallinger/orgs","repos_url":"https://api.github.com/users/Dallinger/repos","events_url":"https://api.github.com/users/Dallinger/events{/privacy}","received_events_url":"https://api.github.com/users/Dallinger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dallinger/Dallinger","description":"Laboratory automation for the behavioral and social sciences.","fork":false,"url":"https://api.github.com/repos/Dallinger/Dallinger","forks_url":"https://api.github.com/repos/Dallinger/Dallinger/forks","keys_url":"https://api.github.com/repos/Dallinger/Dallinger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dallinger/Dallinger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dallinger/Dallinger/teams","hooks_url":"https://api.github.com/repos/Dallinger/Dallinger/hooks","issue_events_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/events{/number}","events_url":"https://api.github.com/repos/Dallinger/Dallinger/events","assignees_url":"https://api.github.com/repos/Dallinger/Dallinger/assignees{/user}","branches_url":"https://api.github.com/repos/Dallinger/Dallinger/branches{/branch}","tags_url":"https://api.github.com/repos/Dallinger/Dallinger/tags","blobs_url":"https://api.github.com/repos/Dallinger/Dallinger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dallinger/Dallinger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dallinger/Dallinger/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dallinger/Dallinger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dallinger/Dallinger/statuses/{sha}","languages_url":"https://api.github.com/repos/Dallinger/Dallinger/languages","stargazers_url":"https://api.github.com/repos/Dallinger/Dallinger/stargazers","contributors_url":"https://api.github.com/repos/Dallinger/Dallinger/contributors","subscribers_url":"https://api.github.com/repos/Dallinger/Dallinger/subscribers","subscription_url":"https://api.github.com/repos/Dallinger/Dallinger/subscription","commits_url":"https://api.github.com/repos/Dallinger/Dallinger/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dallinger/Dallinger/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dallinger/Dallinger/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dallinger/Dallinger/contents/{+path}","compare_url":"https://api.github.com/repos/Dallinger/Dallinger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dallinger/Dallinger/merges","archive_url":"https://api.github.com/repos/Dallinger/Dallinger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dallinger/Dallinger/downloads","issues_url":"https://api.github.com/repos/Dallinger/Dallinger/issues{/number}","pulls_url":"https://api.github.com/repos/Dallinger/Dallinger/pulls{/number}","milestones_url":"https://api.github.com/repos/Dallinger/Dallinger/milestones{/number}","notifications_url":"https://api.github.com/repos/Dallinger/Dallinger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dallinger/Dallinger/labels{/name}","releases_url":"https://api.github.com/repos/Dallinger/Dallinger/releases{/id}","deployments_url":"https://api.github.com/repos/Dallinger/Dallinger/deployments","created_at":"2016-09-05T21:46:04Z","updated_at":"2016-09-07T03:55:37Z","pushed_at":"2016-09-13T17:13:38Z","git_url":"git://github.com/Dallinger/Dallinger.git","ssh_url":"git@github.com:Dallinger/Dallinger.git","clone_url":"https://github.com/Dallinger/Dallinger.git","svn_url":"https://github.com/Dallinger/Dallinger","homepage":"","size":4498,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":49,"forks":0,"open_issues":49,"watchers":0,"default_branch":"master"}},"base":{"label":"Dallinger:master","ref":"master","sha":"0f686d6f51b820409d1fce4ad94d281ce86fa190","user":{"login":"Dallinger","id":19244232,"avatar_url":"https://avatars.githubusercontent.com/u/19244232?v=3","gravatar_id":"","url":"https://api.github.com/users/Dallinger","html_url":"https://github.com/Dallinger","followers_url":"https://api.github.com/users/Dallinger/followers","following_url":"https://api.github.com/users/Dallinger/following{/other_user}","gists_url":"https://api.github.com/users/Dallinger/gists{/gist_id}","starred_url":"https://api.github.com/users/Dallinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dallinger/subscriptions","organizations_url":"https://api.github.com/users/Dallinger/orgs","repos_url":"https://api.github.com/users/Dallinger/repos","events_url":"https://api.github.com/users/Dallinger/events{/privacy}","received_events_url":"https://api.github.com/users/Dallinger/received_events","type":"Organization","site_admin":false},"repo":{"id":67452779,"name":"Dallinger","full_name":"Dallinger/Dallinger","owner":{"login":"Dallinger","id":19244232,"avatar_url":"https://avatars.githubusercontent.com/u/19244232?v=3","gravatar_id":"","url":"https://api.github.com/users/Dallinger","html_url":"https://github.com/Dallinger","followers_url":"https://api.github.com/users/Dallinger/followers","following_url":"https://api.github.com/users/Dallinger/following{/other_user}","gists_url":"https://api.github.com/users/Dallinger/gists{/gist_id}","starred_url":"https://api.github.com/users/Dallinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dallinger/subscriptions","organizations_url":"https://api.github.com/users/Dallinger/orgs","repos_url":"https://api.github.com/users/Dallinger/repos","events_url":"https://api.github.com/users/Dallinger/events{/privacy}","received_events_url":"https://api.github.com/users/Dallinger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dallinger/Dallinger","description":"Laboratory automation for the behavioral and social sciences.","fork":false,"url":"https://api.github.com/repos/Dallinger/Dallinger","forks_url":"https://api.github.com/repos/Dallinger/Dallinger/forks","keys_url":"https://api.github.com/repos/Dallinger/Dallinger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dallinger/Dallinger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dallinger/Dallinger/teams","hooks_url":"https://api.github.com/repos/Dallinger/Dallinger/hooks","issue_events_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/events{/number}","events_url":"https://api.github.com/repos/Dallinger/Dallinger/events","assignees_url":"https://api.github.com/repos/Dallinger/Dallinger/assignees{/user}","branches_url":"https://api.github.com/repos/Dallinger/Dallinger/branches{/branch}","tags_url":"https://api.github.com/repos/Dallinger/Dallinger/tags","blobs_url":"https://api.github.com/repos/Dallinger/Dallinger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dallinger/Dallinger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dallinger/Dallinger/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dallinger/Dallinger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dallinger/Dallinger/statuses/{sha}","languages_url":"https://api.github.com/repos/Dallinger/Dallinger/languages","stargazers_url":"https://api.github.com/repos/Dallinger/Dallinger/stargazers","contributors_url":"https://api.github.com/repos/Dallinger/Dallinger/contributors","subscribers_url":"https://api.github.com/repos/Dallinger/Dallinger/subscribers","subscription_url":"https://api.github.com/repos/Dallinger/Dallinger/subscription","commits_url":"https://api.github.com/repos/Dallinger/Dallinger/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dallinger/Dallinger/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dallinger/Dallinger/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dallinger/Dallinger/contents/{+path}","compare_url":"https://api.github.com/repos/Dallinger/Dallinger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dallinger/Dallinger/merges","archive_url":"https://api.github.com/repos/Dallinger/Dallinger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dallinger/Dallinger/downloads","issues_url":"https://api.github.com/repos/Dallinger/Dallinger/issues{/number}","pulls_url":"https://api.github.com/repos/Dallinger/Dallinger/pulls{/number}","milestones_url":"https://api.github.com/repos/Dallinger/Dallinger/milestones{/number}","notifications_url":"https://api.github.com/repos/Dallinger/Dallinger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dallinger/Dallinger/labels{/name}","releases_url":"https://api.github.com/repos/Dallinger/Dallinger/releases{/id}","deployments_url":"https://api.github.com/repos/Dallinger/Dallinger/deployments","created_at":"2016-09-05T21:46:04Z","updated_at":"2016-09-07T03:55:37Z","pushed_at":"2016-09-13T17:13:38Z","git_url":"git://github.com/Dallinger/Dallinger.git","ssh_url":"git@github.com:Dallinger/Dallinger.git","clone_url":"https://github.com/Dallinger/Dallinger.git","svn_url":"https://github.com/Dallinger/Dallinger","homepage":"","size":4498,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":49,"forks":0,"open_issues":49,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77"},"html":{"href":"https://github.com/Dallinger/Dallinger/pull/77"},"issue":{"href":"https://api.github.com/repos/Dallinger/Dallinger/issues/77"},"comments":{"href":"https://api.github.com/repos/Dallinger/Dallinger/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/Dallinger/Dallinger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dallinger/Dallinger/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/Dallinger/Dallinger/statuses/ea882ecfd6987ffbdf34abb51c5bdd1b2b3f8336"}}}}
{"actor":{"display_login":"houndci-bot"}}