{"action":"opened","number":462,"pull_request":{"url":"https://api.github.com/repos/mathquill/mathquill/pulls/462","id":44071722,"html_url":"https://github.com/mathquill/mathquill/pull/462","diff_url":"https://github.com/mathquill/mathquill/pull/462.diff","patch_url":"https://github.com/mathquill/mathquill/pull/462.patch","issue_url":"https://api.github.com/repos/mathquill/mathquill/issues/462","number":462,"state":"open","locked":false,"title":"`edit`, `edited` as aliases for `reflow` event","user":{"login":"laughinghan","id":225809,"avatar_url":"https://avatars.githubusercontent.com/u/225809?v=3","gravatar_id":"","url":"https://api.github.com/users/laughinghan","html_url":"https://github.com/laughinghan","followers_url":"https://api.github.com/users/laughinghan/followers","following_url":"https://api.github.com/users/laughinghan/following{/other_user}","gists_url":"https://api.github.com/users/laughinghan/gists{/gist_id}","starred_url":"https://api.github.com/users/laughinghan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laughinghan/subscriptions","organizations_url":"https://api.github.com/users/laughinghan/orgs","repos_url":"https://api.github.com/users/laughinghan/repos","events_url":"https://api.github.com/users/laughinghan/events{/privacy}","received_events_url":"https://api.github.com/users/laughinghan/received_events","type":"User","site_admin":false},"body":"What is currently on the `dev` branch known as the `reflow` event was\r\ncalled `edited` when it was introduced in #241. @alopatin then brought\r\nup a serious issue (#317) with the `edited` event as it was then\r\nimplemented, which is that you could edit < into ≤ (etc) without\r\ntriggering the event.\r\n\r\nRather than fixing the problem, I obstinately renamed the event from\r\n`edited` to `reflow` so that I could claim that the event not being\r\ntriggered when no sizes change was a feature, not a bug (#325).\r\n\r\n@jwmerrill finally cut through my bullshit and got @alopatin's fix\r\nfrom #317 merged into `dev` (tweaked as #425), which made edits like\r\n< into ≤ call the `reflow` handler, so that there'd be at least some\r\nhandler that's reliably called when the contents of a field changes.\r\n\r\nBecause the `reflow` event was so broken for so long, people like\r\n@alopatin have been using a fork of `dev` with a fixed `edited`.\r\nTo ease their migration to v0.10.0, and also because the name makes\r\nmore sense for its current role, I want to add back `edited` as an\r\nalias for `reflow` (without removing `reflow`).\r\n\r\nWhile we're talking about a name that makes sense, what name for this\r\nevent do we want to recommend going forward? How about we get rid of\r\nthe inexplicable past tense and just call the event `edit`. Make that\r\nthe recommended alias in the docs.","created_at":"2015-09-03T05:58:30Z","updated_at":"2015-09-03T05:58:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mathquill/mathquill/milestones/4","html_url":"https://github.com/mathquill/mathquill/milestones/v0.10.0","labels_url":"https://api.github.com/repos/mathquill/mathquill/milestones/4/labels","id":1257391,"number":4,"title":"v0.10.0","description":"Current `dev` branch's API has people relying on it. I wanna change it but I oughtta release it and document the changes.","creator":{"login":"laughinghan","id":225809,"avatar_url":"https://avatars.githubusercontent.com/u/225809?v=3","gravatar_id":"","url":"https://api.github.com/users/laughinghan","html_url":"https://github.com/laughinghan","followers_url":"https://api.github.com/users/laughinghan/followers","following_url":"https://api.github.com/users/laughinghan/following{/other_user}","gists_url":"https://api.github.com/users/laughinghan/gists{/gist_id}","starred_url":"https://api.github.com/users/laughinghan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laughinghan/subscriptions","organizations_url":"https://api.github.com/users/laughinghan/orgs","repos_url":"https://api.github.com/users/laughinghan/repos","events_url":"https://api.github.com/users/laughinghan/events{/privacy}","received_events_url":"https://api.github.com/users/laughinghan/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-08-17T02:12:36Z","updated_at":"2015-09-03T05:58:30Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/mathquill/mathquill/pulls/462/commits","review_comments_url":"https://api.github.com/repos/mathquill/mathquill/pulls/462/comments","review_comment_url":"https://api.github.com/repos/mathquill/mathquill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mathquill/mathquill/issues/462/comments","statuses_url":"https://api.github.com/repos/mathquill/mathquill/statuses/6a146958dbc2b623c8602c3a42965b19dd702509","head":{"label":"mathquill:api.edit-event","ref":"api.edit-event","sha":"6a146958dbc2b623c8602c3a42965b19dd702509","user":{"login":"mathquill","id":897444,"avatar_url":"https://avatars.githubusercontent.com/u/897444?v=3","gravatar_id":"","url":"https://api.github.com/users/mathquill","html_url":"https://github.com/mathquill","followers_url":"https://api.github.com/users/mathquill/followers","following_url":"https://api.github.com/users/mathquill/following{/other_user}","gists_url":"https://api.github.com/users/mathquill/gists{/gist_id}","starred_url":"https://api.github.com/users/mathquill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathquill/subscriptions","organizations_url":"https://api.github.com/users/mathquill/orgs","repos_url":"https://api.github.com/users/mathquill/repos","events_url":"https://api.github.com/users/mathquill/events{/privacy}","received_events_url":"https://api.github.com/users/mathquill/received_events","type":"Organization","site_admin":false},"repo":{"id":598343,"name":"mathquill","full_name":"mathquill/mathquill","owner":{"login":"mathquill","id":897444,"avatar_url":"https://avatars.githubusercontent.com/u/897444?v=3","gravatar_id":"","url":"https://api.github.com/users/mathquill","html_url":"https://github.com/mathquill","followers_url":"https://api.github.com/users/mathquill/followers","following_url":"https://api.github.com/users/mathquill/following{/other_user}","gists_url":"https://api.github.com/users/mathquill/gists{/gist_id}","starred_url":"https://api.github.com/users/mathquill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathquill/subscriptions","organizations_url":"https://api.github.com/users/mathquill/orgs","repos_url":"https://api.github.com/users/mathquill/repos","events_url":"https://api.github.com/users/mathquill/events{/privacy}","received_events_url":"https://api.github.com/users/mathquill/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mathquill/mathquill","description":"Magic textboxes where you can type math as easily as writing!","fork":false,"url":"https://api.github.com/repos/mathquill/mathquill","forks_url":"https://api.github.com/repos/mathquill/mathquill/forks","keys_url":"https://api.github.com/repos/mathquill/mathquill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathquill/mathquill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathquill/mathquill/teams","hooks_url":"https://api.github.com/repos/mathquill/mathquill/hooks","issue_events_url":"https://api.github.com/repos/mathquill/mathquill/issues/events{/number}","events_url":"https://api.github.com/repos/mathquill/mathquill/events","assignees_url":"https://api.github.com/repos/mathquill/mathquill/assignees{/user}","branches_url":"https://api.github.com/repos/mathquill/mathquill/branches{/branch}","tags_url":"https://api.github.com/repos/mathquill/mathquill/tags","blobs_url":"https://api.github.com/repos/mathquill/mathquill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathquill/mathquill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathquill/mathquill/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathquill/mathquill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathquill/mathquill/statuses/{sha}","languages_url":"https://api.github.com/repos/mathquill/mathquill/languages","stargazers_url":"https://api.github.com/repos/mathquill/mathquill/stargazers","contributors_url":"https://api.github.com/repos/mathquill/mathquill/contributors","subscribers_url":"https://api.github.com/repos/mathquill/mathquill/subscribers","subscription_url":"https://api.github.com/repos/mathquill/mathquill/subscription","commits_url":"https://api.github.com/repos/mathquill/mathquill/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathquill/mathquill/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathquill/mathquill/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathquill/mathquill/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathquill/mathquill/contents/{+path}","compare_url":"https://api.github.com/repos/mathquill/mathquill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathquill/mathquill/merges","archive_url":"https://api.github.com/repos/mathquill/mathquill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathquill/mathquill/downloads","issues_url":"https://api.github.com/repos/mathquill/mathquill/issues{/number}","pulls_url":"https://api.github.com/repos/mathquill/mathquill/pulls{/number}","milestones_url":"https://api.github.com/repos/mathquill/mathquill/milestones{/number}","notifications_url":"https://api.github.com/repos/mathquill/mathquill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathquill/mathquill/labels{/name}","releases_url":"https://api.github.com/repos/mathquill/mathquill/releases{/id}","created_at":"2010-04-07T04:48:45Z","updated_at":"2015-09-01T17:43:50Z","pushed_at":"2015-09-03T05:57:18Z","git_url":"git://github.com/mathquill/mathquill.git","ssh_url":"git@github.com:mathquill/mathquill.git","clone_url":"https://github.com/mathquill/mathquill.git","svn_url":"https://github.com/mathquill/mathquill","homepage":"mathquill.com","size":16830,"stargazers_count":531,"watchers_count":531,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":236,"mirror_url":null,"open_issues_count":153,"forks":236,"open_issues":153,"watchers":531,"default_branch":"master"}},"base":{"label":"mathquill:dev","ref":"dev","sha":"d8ccaf89547f693fe59e0ee0cc71ac4b292fcae9","user":{"login":"mathquill","id":897444,"avatar_url":"https://avatars.githubusercontent.com/u/897444?v=3","gravatar_id":"","url":"https://api.github.com/users/mathquill","html_url":"https://github.com/mathquill","followers_url":"https://api.github.com/users/mathquill/followers","following_url":"https://api.github.com/users/mathquill/following{/other_user}","gists_url":"https://api.github.com/users/mathquill/gists{/gist_id}","starred_url":"https://api.github.com/users/mathquill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathquill/subscriptions","organizations_url":"https://api.github.com/users/mathquill/orgs","repos_url":"https://api.github.com/users/mathquill/repos","events_url":"https://api.github.com/users/mathquill/events{/privacy}","received_events_url":"https://api.github.com/users/mathquill/received_events","type":"Organization","site_admin":false},"repo":{"id":598343,"name":"mathquill","full_name":"mathquill/mathquill","owner":{"login":"mathquill","id":897444,"avatar_url":"https://avatars.githubusercontent.com/u/897444?v=3","gravatar_id":"","url":"https://api.github.com/users/mathquill","html_url":"https://github.com/mathquill","followers_url":"https://api.github.com/users/mathquill/followers","following_url":"https://api.github.com/users/mathquill/following{/other_user}","gists_url":"https://api.github.com/users/mathquill/gists{/gist_id}","starred_url":"https://api.github.com/users/mathquill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathquill/subscriptions","organizations_url":"https://api.github.com/users/mathquill/orgs","repos_url":"https://api.github.com/users/mathquill/repos","events_url":"https://api.github.com/users/mathquill/events{/privacy}","received_events_url":"https://api.github.com/users/mathquill/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mathquill/mathquill","description":"Magic textboxes where you can type math as easily as writing!","fork":false,"url":"https://api.github.com/repos/mathquill/mathquill","forks_url":"https://api.github.com/repos/mathquill/mathquill/forks","keys_url":"https://api.github.com/repos/mathquill/mathquill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathquill/mathquill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathquill/mathquill/teams","hooks_url":"https://api.github.com/repos/mathquill/mathquill/hooks","issue_events_url":"https://api.github.com/repos/mathquill/mathquill/issues/events{/number}","events_url":"https://api.github.com/repos/mathquill/mathquill/events","assignees_url":"https://api.github.com/repos/mathquill/mathquill/assignees{/user}","branches_url":"https://api.github.com/repos/mathquill/mathquill/branches{/branch}","tags_url":"https://api.github.com/repos/mathquill/mathquill/tags","blobs_url":"https://api.github.com/repos/mathquill/mathquill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathquill/mathquill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathquill/mathquill/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathquill/mathquill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathquill/mathquill/statuses/{sha}","languages_url":"https://api.github.com/repos/mathquill/mathquill/languages","stargazers_url":"https://api.github.com/repos/mathquill/mathquill/stargazers","contributors_url":"https://api.github.com/repos/mathquill/mathquill/contributors","subscribers_url":"https://api.github.com/repos/mathquill/mathquill/subscribers","subscription_url":"https://api.github.com/repos/mathquill/mathquill/subscription","commits_url":"https://api.github.com/repos/mathquill/mathquill/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathquill/mathquill/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathquill/mathquill/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathquill/mathquill/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathquill/mathquill/contents/{+path}","compare_url":"https://api.github.com/repos/mathquill/mathquill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathquill/mathquill/merges","archive_url":"https://api.github.com/repos/mathquill/mathquill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathquill/mathquill/downloads","issues_url":"https://api.github.com/repos/mathquill/mathquill/issues{/number}","pulls_url":"https://api.github.com/repos/mathquill/mathquill/pulls{/number}","milestones_url":"https://api.github.com/repos/mathquill/mathquill/milestones{/number}","notifications_url":"https://api.github.com/repos/mathquill/mathquill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathquill/mathquill/labels{/name}","releases_url":"https://api.github.com/repos/mathquill/mathquill/releases{/id}","created_at":"2010-04-07T04:48:45Z","updated_at":"2015-09-01T17:43:50Z","pushed_at":"2015-09-03T05:57:18Z","git_url":"git://github.com/mathquill/mathquill.git","ssh_url":"git@github.com:mathquill/mathquill.git","clone_url":"https://github.com/mathquill/mathquill.git","svn_url":"https://github.com/mathquill/mathquill","homepage":"mathquill.com","size":16830,"stargazers_count":531,"watchers_count":531,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":236,"mirror_url":null,"open_issues_count":153,"forks":236,"open_issues":153,"watchers":531,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mathquill/mathquill/pulls/462"},"html":{"href":"https://github.com/mathquill/mathquill/pull/462"},"issue":{"href":"https://api.github.com/repos/mathquill/mathquill/issues/462"},"comments":{"href":"https://api.github.com/repos/mathquill/mathquill/issues/462/comments"},"review_comments":{"href":"https://api.github.com/repos/mathquill/mathquill/pulls/462/comments"},"review_comment":{"href":"https://api.github.com/repos/mathquill/mathquill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mathquill/mathquill/pulls/462/commits"},"statuses":{"href":"https://api.github.com/repos/mathquill/mathquill/statuses/6a146958dbc2b623c8602c3a42965b19dd702509"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":13,"changed_files":4}}