{"action":"created","comment":{"url":"https://api.github.com/repos/enketo/enketo-core/pulls/comments/42024494","id":42024494,"diff_hunk":"@@ -1986,9 +2004,11 @@ define( function( require, exports, module ) {\n                 if ( eventType === 'validate' ) {\n                     that.setInvalid( $input, 'required' );\n                 }\n+\n+                valid = Promise.resolve( false );","path":"src/js/Form.js","position":86,"original_position":82,"commit_id":"5c41c96a947c82a17d55056450c58d6291e02c55","original_commit_id":"3a84552ce8fbc6c26877ba2611e38bd90bfdf0c2","user":{"login":"MartijnR","id":627350,"avatar_url":"https://avatars.githubusercontent.com/u/627350?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnR","html_url":"https://github.com/MartijnR","followers_url":"https://api.github.com/users/MartijnR/followers","following_url":"https://api.github.com/users/MartijnR/following{/other_user}","gists_url":"https://api.github.com/users/MartijnR/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnR/subscriptions","organizations_url":"https://api.github.com/users/MartijnR/orgs","repos_url":"https://api.github.com/users/MartijnR/repos","events_url":"https://api.github.com/users/MartijnR/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnR/received_events","type":"User","site_admin":false},"body":"Yes, indeed. Seems like I should have had a test for that...","created_at":"2015-10-14T17:26:37Z","updated_at":"2015-10-14T17:26:37Z","html_url":"https://github.com/enketo/enketo-core/pull/333#discussion_r42024494","pull_request_url":"https://api.github.com/repos/enketo/enketo-core/pulls/333","_links":{"self":{"href":"https://api.github.com/repos/enketo/enketo-core/pulls/comments/42024494"},"html":{"href":"https://github.com/enketo/enketo-core/pull/333#discussion_r42024494"},"pull_request":{"href":"https://api.github.com/repos/enketo/enketo-core/pulls/333"}}},"pull_request":{"url":"https://api.github.com/repos/enketo/enketo-core/pulls/333","id":47649382,"html_url":"https://github.com/enketo/enketo-core/pull/333","diff_url":"https://github.com/enketo/enketo-core/pull/333.diff","patch_url":"https://github.com/enketo/enketo-core/pull/333.patch","issue_url":"https://api.github.com/repos/enketo/enketo-core/issues/333","number":333,"state":"open","locked":false,"title":"Check current page for errors before moving to Next page","user":{"login":"alxndrsn","id":191496,"avatar_url":"https://avatars.githubusercontent.com/u/191496?v=3","gravatar_id":"","url":"https://api.github.com/users/alxndrsn","html_url":"https://github.com/alxndrsn","followers_url":"https://api.github.com/users/alxndrsn/followers","following_url":"https://api.github.com/users/alxndrsn/following{/other_user}","gists_url":"https://api.github.com/users/alxndrsn/gists{/gist_id}","starred_url":"https://api.github.com/users/alxndrsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxndrsn/subscriptions","organizations_url":"https://api.github.com/users/alxndrsn/orgs","repos_url":"https://api.github.com/users/alxndrsn/repos","events_url":"https://api.github.com/users/alxndrsn/events{/privacy}","received_events_url":"https://api.github.com/users/alxndrsn/received_events","type":"User","site_admin":false},"body":"Issue: #326","created_at":"2015-10-14T11:55:14Z","updated_at":"2015-10-14T17:26:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8028bb8624472954135781ecf5b66a958a9f5dca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enketo/enketo-core/pulls/333/commits","review_comments_url":"https://api.github.com/repos/enketo/enketo-core/pulls/333/comments","review_comment_url":"https://api.github.com/repos/enketo/enketo-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enketo/enketo-core/issues/333/comments","statuses_url":"https://api.github.com/repos/enketo/enketo-core/statuses/5c41c96a947c82a17d55056450c58d6291e02c55","head":{"label":"alxndrsn:check-for-errors-before-turning-page","ref":"check-for-errors-before-turning-page","sha":"5c41c96a947c82a17d55056450c58d6291e02c55","user":{"login":"alxndrsn","id":191496,"avatar_url":"https://avatars.githubusercontent.com/u/191496?v=3","gravatar_id":"","url":"https://api.github.com/users/alxndrsn","html_url":"https://github.com/alxndrsn","followers_url":"https://api.github.com/users/alxndrsn/followers","following_url":"https://api.github.com/users/alxndrsn/following{/other_user}","gists_url":"https://api.github.com/users/alxndrsn/gists{/gist_id}","starred_url":"https://api.github.com/users/alxndrsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxndrsn/subscriptions","organizations_url":"https://api.github.com/users/alxndrsn/orgs","repos_url":"https://api.github.com/users/alxndrsn/repos","events_url":"https://api.github.com/users/alxndrsn/events{/privacy}","received_events_url":"https://api.github.com/users/alxndrsn/received_events","type":"User","site_admin":false},"repo":{"id":38691096,"name":"enketo-core","full_name":"alxndrsn/enketo-core","owner":{"login":"alxndrsn","id":191496,"avatar_url":"https://avatars.githubusercontent.com/u/191496?v=3","gravatar_id":"","url":"https://api.github.com/users/alxndrsn","html_url":"https://github.com/alxndrsn","followers_url":"https://api.github.com/users/alxndrsn/followers","following_url":"https://api.github.com/users/alxndrsn/following{/other_user}","gists_url":"https://api.github.com/users/alxndrsn/gists{/gist_id}","starred_url":"https://api.github.com/users/alxndrsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxndrsn/subscriptions","organizations_url":"https://api.github.com/users/alxndrsn/orgs","repos_url":"https://api.github.com/users/alxndrsn/repos","events_url":"https://api.github.com/users/alxndrsn/events{/privacy}","received_events_url":"https://api.github.com/users/alxndrsn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alxndrsn/enketo-core","description":"The engine that powers Enketo Smart Paper - Use it to develop your own enketo-powered app.","fork":true,"url":"https://api.github.com/repos/alxndrsn/enketo-core","forks_url":"https://api.github.com/repos/alxndrsn/enketo-core/forks","keys_url":"https://api.github.com/repos/alxndrsn/enketo-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alxndrsn/enketo-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alxndrsn/enketo-core/teams","hooks_url":"https://api.github.com/repos/alxndrsn/enketo-core/hooks","issue_events_url":"https://api.github.com/repos/alxndrsn/enketo-core/issues/events{/number}","events_url":"https://api.github.com/repos/alxndrsn/enketo-core/events","assignees_url":"https://api.github.com/repos/alxndrsn/enketo-core/assignees{/user}","branches_url":"https://api.github.com/repos/alxndrsn/enketo-core/branches{/branch}","tags_url":"https://api.github.com/repos/alxndrsn/enketo-core/tags","blobs_url":"https://api.github.com/repos/alxndrsn/enketo-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alxndrsn/enketo-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alxndrsn/enketo-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/alxndrsn/enketo-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alxndrsn/enketo-core/statuses/{sha}","languages_url":"https://api.github.com/repos/alxndrsn/enketo-core/languages","stargazers_url":"https://api.github.com/repos/alxndrsn/enketo-core/stargazers","contributors_url":"https://api.github.com/repos/alxndrsn/enketo-core/contributors","subscribers_url":"https://api.github.com/repos/alxndrsn/enketo-core/subscribers","subscription_url":"https://api.github.com/repos/alxndrsn/enketo-core/subscription","commits_url":"https://api.github.com/repos/alxndrsn/enketo-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/alxndrsn/enketo-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/alxndrsn/enketo-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/alxndrsn/enketo-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/alxndrsn/enketo-core/contents/{+path}","compare_url":"https://api.github.com/repos/alxndrsn/enketo-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alxndrsn/enketo-core/merges","archive_url":"https://api.github.com/repos/alxndrsn/enketo-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alxndrsn/enketo-core/downloads","issues_url":"https://api.github.com/repos/alxndrsn/enketo-core/issues{/number}","pulls_url":"https://api.github.com/repos/alxndrsn/enketo-core/pulls{/number}","milestones_url":"https://api.github.com/repos/alxndrsn/enketo-core/milestones{/number}","notifications_url":"https://api.github.com/repos/alxndrsn/enketo-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alxndrsn/enketo-core/labels{/name}","releases_url":"https://api.github.com/repos/alxndrsn/enketo-core/releases{/id}","created_at":"2015-07-07T13:56:47Z","updated_at":"2015-07-07T13:56:49Z","pushed_at":"2015-10-14T12:01:46Z","git_url":"git://github.com/alxndrsn/enketo-core.git","ssh_url":"git@github.com:alxndrsn/enketo-core.git","clone_url":"https://github.com/alxndrsn/enketo-core.git","svn_url":"https://github.com/alxndrsn/enketo-core","homepage":"https://enketo.org","size":3054,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"enketo:master","ref":"master","sha":"2cb3c4dd5949a8c295d080322994101b142a25fc","user":{"login":"enketo","id":4306589,"avatar_url":"https://avatars.githubusercontent.com/u/4306589?v=3","gravatar_id":"","url":"https://api.github.com/users/enketo","html_url":"https://github.com/enketo","followers_url":"https://api.github.com/users/enketo/followers","following_url":"https://api.github.com/users/enketo/following{/other_user}","gists_url":"https://api.github.com/users/enketo/gists{/gist_id}","starred_url":"https://api.github.com/users/enketo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enketo/subscriptions","organizations_url":"https://api.github.com/users/enketo/orgs","repos_url":"https://api.github.com/users/enketo/repos","events_url":"https://api.github.com/users/enketo/events{/privacy}","received_events_url":"https://api.github.com/users/enketo/received_events","type":"Organization","site_admin":false},"repo":{"id":12761494,"name":"enketo-core","full_name":"enketo/enketo-core","owner":{"login":"enketo","id":4306589,"avatar_url":"https://avatars.githubusercontent.com/u/4306589?v=3","gravatar_id":"","url":"https://api.github.com/users/enketo","html_url":"https://github.com/enketo","followers_url":"https://api.github.com/users/enketo/followers","following_url":"https://api.github.com/users/enketo/following{/other_user}","gists_url":"https://api.github.com/users/enketo/gists{/gist_id}","starred_url":"https://api.github.com/users/enketo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enketo/subscriptions","organizations_url":"https://api.github.com/users/enketo/orgs","repos_url":"https://api.github.com/users/enketo/repos","events_url":"https://api.github.com/users/enketo/events{/privacy}","received_events_url":"https://api.github.com/users/enketo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enketo/enketo-core","description":"The engine that powers Enketo Smart Paper - Use it to develop your own enketo-powered app.","fork":false,"url":"https://api.github.com/repos/enketo/enketo-core","forks_url":"https://api.github.com/repos/enketo/enketo-core/forks","keys_url":"https://api.github.com/repos/enketo/enketo-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enketo/enketo-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enketo/enketo-core/teams","hooks_url":"https://api.github.com/repos/enketo/enketo-core/hooks","issue_events_url":"https://api.github.com/repos/enketo/enketo-core/issues/events{/number}","events_url":"https://api.github.com/repos/enketo/enketo-core/events","assignees_url":"https://api.github.com/repos/enketo/enketo-core/assignees{/user}","branches_url":"https://api.github.com/repos/enketo/enketo-core/branches{/branch}","tags_url":"https://api.github.com/repos/enketo/enketo-core/tags","blobs_url":"https://api.github.com/repos/enketo/enketo-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enketo/enketo-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enketo/enketo-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/enketo/enketo-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enketo/enketo-core/statuses/{sha}","languages_url":"https://api.github.com/repos/enketo/enketo-core/languages","stargazers_url":"https://api.github.com/repos/enketo/enketo-core/stargazers","contributors_url":"https://api.github.com/repos/enketo/enketo-core/contributors","subscribers_url":"https://api.github.com/repos/enketo/enketo-core/subscribers","subscription_url":"https://api.github.com/repos/enketo/enketo-core/subscription","commits_url":"https://api.github.com/repos/enketo/enketo-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/enketo/enketo-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/enketo/enketo-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/enketo/enketo-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/enketo/enketo-core/contents/{+path}","compare_url":"https://api.github.com/repos/enketo/enketo-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enketo/enketo-core/merges","archive_url":"https://api.github.com/repos/enketo/enketo-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enketo/enketo-core/downloads","issues_url":"https://api.github.com/repos/enketo/enketo-core/issues{/number}","pulls_url":"https://api.github.com/repos/enketo/enketo-core/pulls{/number}","milestones_url":"https://api.github.com/repos/enketo/enketo-core/milestones{/number}","notifications_url":"https://api.github.com/repos/enketo/enketo-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enketo/enketo-core/labels{/name}","releases_url":"https://api.github.com/repos/enketo/enketo-core/releases{/id}","created_at":"2013-09-11T16:35:43Z","updated_at":"2015-10-05T23:49:54Z","pushed_at":"2015-10-14T17:12:12Z","git_url":"git://github.com/enketo/enketo-core.git","ssh_url":"git@github.com:enketo/enketo-core.git","clone_url":"https://github.com/enketo/enketo-core.git","svn_url":"https://github.com/enketo/enketo-core","homepage":"https://enketo.org","size":4772,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":80,"forks":22,"open_issues":80,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enketo/enketo-core/pulls/333"},"html":{"href":"https://github.com/enketo/enketo-core/pull/333"},"issue":{"href":"https://api.github.com/repos/enketo/enketo-core/issues/333"},"comments":{"href":"https://api.github.com/repos/enketo/enketo-core/issues/333/comments"},"review_comments":{"href":"https://api.github.com/repos/enketo/enketo-core/pulls/333/comments"},"review_comment":{"href":"https://api.github.com/repos/enketo/enketo-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enketo/enketo-core/pulls/333/commits"},"statuses":{"href":"https://api.github.com/repos/enketo/enketo-core/statuses/5c41c96a947c82a17d55056450c58d6291e02c55"}}}}