{"action":"created","comment":{"url":"https://api.github.com/repos/Khan/perseus/pulls/comments/25135695","id":25135695,"diff_hunk":"@@ -166,7 +170,6 @@\n             _.delay(callback, 1000, \"http://fake.image.url\");\n         },\n         apiOptions: {\n-            enableOldAnswerTypes: true,","path":"test.html","position":4,"original_position":22,"commit_id":"6345169dbdde4ceeee15811f8de158e5f0717d0f","original_commit_id":"d943b177e2957c0bcf51666dc7c3877ddd8f544b","user":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"body":"I'm going to leave this in, but in the future I'll make small unrelated changes separately.","created_at":"2015-02-22T19:49:03Z","updated_at":"2015-02-22T19:49:03Z","html_url":"https://github.com/Khan/perseus/pull/27#discussion_r25135695","pull_request_url":"https://api.github.com/repos/Khan/perseus/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/Khan/perseus/pulls/comments/25135695"},"html":{"href":"https://github.com/Khan/perseus/pull/27#discussion_r25135695"},"pull_request":{"href":"https://api.github.com/repos/Khan/perseus/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/Khan/perseus/pulls/27","id":29718160,"html_url":"https://github.com/Khan/perseus/pull/27","diff_url":"https://github.com/Khan/perseus/pull/27.diff","patch_url":"https://github.com/Khan/perseus/pull/27.patch","issue_url":"https://api.github.com/repos/Khan/perseus/issues/27","number":27,"state":"open","locked":false,"title":"Search and replace","user":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"body":"There are still a few things left to do:\r\n- [x] update button state when the user can no longer replace(All)\r\n- [x] scroll the window so that the current search result is visible\r\n- [x] show a (current of total) indicator\r\n- [x] remove code that handles answerArea\r\n- [x] get ArticleEditor working\r\n- [ ] write tests\r\n\r\nThe reason why I'm creating the pull-request right now is that I'm new to React and would like feedback on how things are structured.\r\n\r\nThe live demo has been update: http://kevinb7.github.io/perseus/","created_at":"2015-02-20T18:21:22Z","updated_at":"2015-02-22T19:49:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2233e60b9359056c1f5d7d4bbd1faa4ecb20bb2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Khan/perseus/pulls/27/commits","review_comments_url":"https://api.github.com/repos/Khan/perseus/pulls/27/comments","review_comment_url":"https://api.github.com/repos/Khan/perseus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Khan/perseus/issues/27/comments","statuses_url":"https://api.github.com/repos/Khan/perseus/statuses/6345169dbdde4ceeee15811f8de158e5f0717d0f","head":{"label":"kevinb7:search_and_replace","ref":"search_and_replace","sha":"6345169dbdde4ceeee15811f8de158e5f0717d0f","user":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"repo":{"id":24622197,"name":"perseus","full_name":"kevinb7/perseus","owner":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinb7/perseus","description":"Perseus is Khan Academy's new exercise question editor and renderer.","fork":true,"url":"https://api.github.com/repos/kevinb7/perseus","forks_url":"https://api.github.com/repos/kevinb7/perseus/forks","keys_url":"https://api.github.com/repos/kevinb7/perseus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinb7/perseus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinb7/perseus/teams","hooks_url":"https://api.github.com/repos/kevinb7/perseus/hooks","issue_events_url":"https://api.github.com/repos/kevinb7/perseus/issues/events{/number}","events_url":"https://api.github.com/repos/kevinb7/perseus/events","assignees_url":"https://api.github.com/repos/kevinb7/perseus/assignees{/user}","branches_url":"https://api.github.com/repos/kevinb7/perseus/branches{/branch}","tags_url":"https://api.github.com/repos/kevinb7/perseus/tags","blobs_url":"https://api.github.com/repos/kevinb7/perseus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinb7/perseus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinb7/perseus/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinb7/perseus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinb7/perseus/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinb7/perseus/languages","stargazers_url":"https://api.github.com/repos/kevinb7/perseus/stargazers","contributors_url":"https://api.github.com/repos/kevinb7/perseus/contributors","subscribers_url":"https://api.github.com/repos/kevinb7/perseus/subscribers","subscription_url":"https://api.github.com/repos/kevinb7/perseus/subscription","commits_url":"https://api.github.com/repos/kevinb7/perseus/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinb7/perseus/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinb7/perseus/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinb7/perseus/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinb7/perseus/contents/{+path}","compare_url":"https://api.github.com/repos/kevinb7/perseus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinb7/perseus/merges","archive_url":"https://api.github.com/repos/kevinb7/perseus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinb7/perseus/downloads","issues_url":"https://api.github.com/repos/kevinb7/perseus/issues{/number}","pulls_url":"https://api.github.com/repos/kevinb7/perseus/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinb7/perseus/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinb7/perseus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinb7/perseus/labels{/name}","releases_url":"https://api.github.com/repos/kevinb7/perseus/releases{/id}","created_at":"2014-09-30T03:01:14Z","updated_at":"2015-02-20T00:37:06Z","pushed_at":"2015-02-22T03:17:54Z","git_url":"git://github.com/kevinb7/perseus.git","ssh_url":"git@github.com:kevinb7/perseus.git","clone_url":"https://github.com/kevinb7/perseus.git","svn_url":"https://github.com/kevinb7/perseus","homepage":"http://khan.github.io/perseus/","size":11645,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Khan:master","ref":"master","sha":"2ef4086f600114e53278e72d21339e78231b439e","user":{"login":"Khan","id":15455,"avatar_url":"https://avatars.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"repo":{"id":7827310,"name":"perseus","full_name":"Khan/perseus","owner":{"login":"Khan","id":15455,"avatar_url":"https://avatars.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Khan/perseus","description":"Perseus is Khan Academy's new exercise question editor and renderer.","fork":false,"url":"https://api.github.com/repos/Khan/perseus","forks_url":"https://api.github.com/repos/Khan/perseus/forks","keys_url":"https://api.github.com/repos/Khan/perseus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Khan/perseus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Khan/perseus/teams","hooks_url":"https://api.github.com/repos/Khan/perseus/hooks","issue_events_url":"https://api.github.com/repos/Khan/perseus/issues/events{/number}","events_url":"https://api.github.com/repos/Khan/perseus/events","assignees_url":"https://api.github.com/repos/Khan/perseus/assignees{/user}","branches_url":"https://api.github.com/repos/Khan/perseus/branches{/branch}","tags_url":"https://api.github.com/repos/Khan/perseus/tags","blobs_url":"https://api.github.com/repos/Khan/perseus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Khan/perseus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Khan/perseus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Khan/perseus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Khan/perseus/statuses/{sha}","languages_url":"https://api.github.com/repos/Khan/perseus/languages","stargazers_url":"https://api.github.com/repos/Khan/perseus/stargazers","contributors_url":"https://api.github.com/repos/Khan/perseus/contributors","subscribers_url":"https://api.github.com/repos/Khan/perseus/subscribers","subscription_url":"https://api.github.com/repos/Khan/perseus/subscription","commits_url":"https://api.github.com/repos/Khan/perseus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Khan/perseus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Khan/perseus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Khan/perseus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Khan/perseus/contents/{+path}","compare_url":"https://api.github.com/repos/Khan/perseus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Khan/perseus/merges","archive_url":"https://api.github.com/repos/Khan/perseus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Khan/perseus/downloads","issues_url":"https://api.github.com/repos/Khan/perseus/issues{/number}","pulls_url":"https://api.github.com/repos/Khan/perseus/pulls{/number}","milestones_url":"https://api.github.com/repos/Khan/perseus/milestones{/number}","notifications_url":"https://api.github.com/repos/Khan/perseus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Khan/perseus/labels{/name}","releases_url":"https://api.github.com/repos/Khan/perseus/releases{/id}","created_at":"2013-01-25T19:54:46Z","updated_at":"2015-02-19T04:29:15Z","pushed_at":"2015-02-19T04:29:15Z","git_url":"git://github.com/Khan/perseus.git","ssh_url":"git@github.com:Khan/perseus.git","clone_url":"https://github.com/Khan/perseus.git","svn_url":"https://github.com/Khan/perseus","homepage":"http://khan.github.io/perseus/","size":16169,"stargazers_count":265,"watchers_count":265,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":12,"forks":78,"open_issues":12,"watchers":265,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Khan/perseus/pulls/27"},"html":{"href":"https://github.com/Khan/perseus/pull/27"},"issue":{"href":"https://api.github.com/repos/Khan/perseus/issues/27"},"comments":{"href":"https://api.github.com/repos/Khan/perseus/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/Khan/perseus/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/Khan/perseus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Khan/perseus/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/Khan/perseus/statuses/6345169dbdde4ceeee15811f8de158e5f0717d0f"}}}}